IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 20, 2012, 3:06:34 PM (14 years ago)
Author:
eugene
Message:

allow all vector results to yield 0 length vectors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Ohana/src/opihi/cmd.data/select.c

    r20936 r33311  
    2828
    2929  if ((in1->type == OPIHI_INT) && (in2->type == OPIHI_INT)) {
    30     ResetVector (ovec, OPIHI_INT, MAX (tvec[0].Nelements, 1));
     30    ResetVector (ovec, OPIHI_INT, tvec[0].Nelements);
    3131  } else {
    32     ResetVector (ovec, OPIHI_FLT, MAX (tvec[0].Nelements, 1));
     32    ResetVector (ovec, OPIHI_FLT, tvec[0].Nelements);
    3333  }
    3434
Note: See TracChangeset for help on using the changeset viewer.