IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 1, 2012, 3:24:39 PM (14 years ago)
Author:
eugene
Message:

support for parallel dvo in mextract, avextract, avmerge, gstar, gcat; remove some if-def-ed out code already moved to libdvo; list -vectors and -buffers options (store names of vectors and buffers in lists); list -copy give error if missing source; catlist, hosts & remote functions to support parallel dvos; skyregion -save option; new skycoverage modes (-min-ubercal; -min-dmag-sys; -min-mcal; -max-mcal); gstar output formatting cleanups; add more average info to gstar output; functions for spectral similarity analysis; coords returns nans for projections off the sphere; fix cumulative function; add name:type option to opihi/read function (eg read a:float 2 b:time 3 c:int 4); line -frac option; vtype function to get vector types; threshold function; write -fits option; code for unfinished mtype function (matching vtype)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/cut.c

    r20936 r33662  
    4848  case 'X':
    4949    /* create output vectors */
    50     ResetVector (xvec, OPIHI_FLT, MAX (nx, 1));
    51     ResetVector (yvec, OPIHI_FLT, MAX (nx, 1));
     50    ResetVector (xvec, OPIHI_FLT, nx);
     51    ResetVector (yvec, OPIHI_FLT, nx);
    5252    bzero (yvec[0].elements.Flt, nx*sizeof(opihi_flt));
    5353    for (i = 0; i < nx; i++) {
     
    8080  case 'y':
    8181  case 'Y':
    82     ResetVector (xvec, OPIHI_FLT, MAX (ny, 1));
    83     ResetVector (yvec, OPIHI_FLT, MAX (ny, 1));
     82    ResetVector (xvec, OPIHI_FLT, ny);
     83    ResetVector (yvec, OPIHI_FLT, ny);
    8484    bzero (yvec[0].elements.Flt, ny*sizeof(opihi_flt));
    8585    for (i = 0; i < ny; i++) {
Note: See TracChangeset for help on using the changeset viewer.