IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15224


Ignore:
Timestamp:
Oct 4, 2007, 2:59:22 PM (19 years ago)
Author:
Paul Price
Message:

Doing stats on the wrong thing: input instead of output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackLoop.c

    r14834 r15224  
    3535    if (!input) {
    3636        psError(PS_ERR_UNEXPECTED_NULL, false, "Can't find input data!\n");
     37        return false;
     38    }
     39    pmFPAfile *output = psMetadataLookupPtr(NULL, config->files, "PPSTACK.OUTPUT"); // Output file
     40    if (!output) {
     41        psError(PS_ERR_UNEXPECTED_NULL, false, "Can't find output data!\n");
    3742        return false;
    3843    }
     
    8792            // Perform statistics on the cell
    8893            if (stats) {
    89                 ppStatsFPA(stats, input->fpa, view, maskBlank, config);
     94                ppStatsFPA(stats, output->fpa, view, maskBlank, config);
    9095            }
    9196
Note: See TracChangeset for help on using the changeset viewer.