IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 30, 2008, 2:46:46 PM (18 years ago)
Author:
eugene
Message:

set vectors to use INT or FLT types as needed; cleanup type information in dbStack (use enum)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20081124/Ohana/src/opihi/cmd.astro/cplot.c

    r20859 r20860  
    3131  }
    3232
    33   ResetVector (Xvec, OPIHI_FLT, xvec[0].Nelements);
    34   ResetVector (Yvec, OPIHI_FLT, xvec[0].Nelements);
     33  ResetVector (&Xvec, OPIHI_FLT, xvec[0].Nelements);
     34  ResetVector (&Yvec, OPIHI_FLT, xvec[0].Nelements);
    3535 
    3636  r = xvec[0].elements.Flt;
     
    7777
    7878  graphmode.etype = 0;
    79   PlotVectorPair (kapa, Xvec, Yvec, &graphmode);
     79  PlotVectorPair (kapa, &Xvec, &Yvec, &graphmode);
    8080 
    81   free (Xvec.elements.Flt);
    82   free (Yvec.elements.Flt);
     81  free (Xvec.elements.Ptr);
     82  free (Yvec.elements.Ptr);
    8383   
    8484  return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.