IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 2, 2009, 10:25:25 AM (17 years ago)
Author:
Paul Price
Message:

Suppress warning "Vector contains zero elements"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_mops/ppMops/src/ppMopsRead.c

    r25188 r25247  
    151151        det->num = numGood;
    152152
    153         if (isfinite(args->zp)) {
     153        if (isfinite(args->zp) && numGood > 0) {
    154154            psBinaryOp(det->mag, det->mag, "+", psScalarAlloc(args->zp, PS_TYPE_F32));
    155155        }
Note: See TracChangeset for help on using the changeset viewer.