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/lcurve.c

    r20859 r20860  
    104104  N = 0;
    105105  NPTS = 100;
    106   ResetVector (Xvec, OPIHI_FLT, NPTS);
    107   ResetVector (Yvec, OPIHI_FLT, NPTS);
     106  ResetVector (&Xvec, OPIHI_FLT, NPTS);
     107  ResetVector (&Yvec, OPIHI_FLT, NPTS);
    108108  dYvec.elements.Flt = NULL;
    109109  if (ErrorBars) {   
    110     ResetVector (Yvec, OPIHI_FLT, NPTS);
     110    ResetVector (&dYvec, OPIHI_FLT, NPTS);
    111111  }
    112112
     
    157157
    158158  if (ErrorBars) {
    159     PlotVectorPairErrors (kapa, Xvec, Yvec, dYvec, &graphmode);
     159    PlotVectorPairErrors (kapa, &Xvec, &Yvec, &dYvec, &graphmode);
    160160  } else {
    161     PlotVectorPair (kapa, Xvec, Yvec, &graphmode);
     161    PlotVectorPair (kapa, &Xvec, &Yvec, &graphmode);
    162162  }
    163163
Note: See TracChangeset for help on using the changeset viewer.