IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 11, 2007, 5:51:36 PM (19 years ago)
Author:
Paul Price
Message:

Works with POIS kernels!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubLoop.c

    r13360 r13371  
    102102
    103103            pmReadout *inRO;           // Readin of interest
    104             while ((inRO = pmFPAviewNextReadout(view, input->fpa, 1)) != NULL) {
     104            while ((inRO = pmFPAviewNextReadout(view, input->fpa, 1))) {
    105105                if (!pmFPAfileIOChecks(config, view, PM_FPA_BEFORE)) {
    106106                    return false;
    107107                }
    108108                pmReadout *refRO = pmFPAviewThisReadout(view, reference->fpa);// Reference readout of interest
    109                 if ((!inRO->data_exists && refRO->data_exists) ||
     109                if (!refRO || (!inRO->data_exists && refRO->data_exists) ||
    110110                    (inRO->data_exists && !refRO->data_exists)) {
    111111                    psError(PS_ERR_BAD_PARAMETER_VALUE, true,
Note: See TracChangeset for help on using the changeset viewer.