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/dvo/simage.c

    r20859 r20860  
    9292
    9393  /* set up storage buffers */
    94   ResetVector (Xvec, OPIHI_FLT, Ntars);
    95   ResetVector (Yvec, OPIHI_FLT, Ntars);
    96   ResetVector (Zvec, OPIHI_FLT, Ntars);
     94  ResetVector (&Xvec, OPIHI_FLT, Nstars);
     95  ResetVector (&Yvec, OPIHI_FLT, Nstars);
     96  ResetVector (&Zvec, OPIHI_FLT, Nstars);
    9797  ALLOCATE (buffer, char, (BLOCK*BYTES_STAR));
    9898
     
    152152  Npts = Xvec.Nelements;
    153153
    154   PlotVectorTriplet (kapa, Xvec, Yvec, Zvec, &graphmode);
     154  PlotVectorTriplet (kapa, &Xvec, &Yvec, &Zvec, &graphmode);
    155155
    156156  free (Xvec.elements.Flt);
Note: See TracChangeset for help on using the changeset viewer.