IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 13, 2011, 11:20:31 AM (15 years ago)
Author:
eugene
Message:

add +=, -= operators to opihi; limits -by-image; -closest option for match2d; fix reindex function; output precision for write_vectors.c; add sigma-clip and iteration to vstats; fix possible crash in subset (allow 0-length result)

File:
1 edited

Legend:

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

    r27491 r30610  
    3434
    3535  // ovec matches ivec in type
    36   ResetVector (ovec, ivec->type, MAX (tvec[0].Nelements, 1));
     36  ResetVector (ovec, ivec->type, tvec[0].Nelements);
    3737
    3838  // we have four cases: (ivec == flt or int) and (tvec == flt or int)
     
    7575
    7676  // free up unused memory
    77   ResetVector (ovec, ivec->type, MAX (Npts, 1));
     77  ResetVector (ovec, ivec->type, Npts);
    7878
    7979  DeleteVector (tvec);
Note: See TracChangeset for help on using the changeset viewer.