IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 30, 2008, 7:45:21 AM (18 years ago)
Author:
eugene
Message:

modify functions to use both int and flt vectors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20081124/Ohana/src/opihi/cmd.data/interpolate.c

    r20839 r20857  
    2121  if ((yout = SelectVector (argv[4],  ANYVECTOR, TRUE)) == NULL) return (FALSE);
    2222
    23   yout[0].Nelements = xout[0].Nelements;
    24   REALLOCATE (yout[0].elements.Flt, opihi_flt, yout[0].Nelements);
     23  REQUIRE_VECTOR_FLT (in, FALSE);
     24  REQUIRE_VECTOR_FLT (xv, FALSE);
     25  REQUIRE_VECTOR_FLT (yv, FALSE);
     26  ResetVector (yout, OPIHI_FLT, xout[0].Nelements);
    2527
    2628  dx = xin[0].elements.Flt[1] - xin[0].elements.Flt[0];
Note: See TracChangeset for help on using the changeset viewer.