IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 18, 2009, 9:43:36 AM (17 years ago)
Author:
eugene
Message:

sigmaCell and countsCell needed to get the concepts from outCell: why did this work before?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeLoop_Threaded.c

    r19081 r21139  
    332332                psFree(countsRO);
    333333
     334                // XXX EAM 2009.01.18 : sigmaCell and countsCell need to have their concepts copied from outCell.
     335                // This was causing segfaults for VYSOS5; Why did this ever work for SIMTEST?
     336                if (!pmConceptsCopyCell(countsCell, outCell)) {
     337                    psError(PS_ERR_UNKNOWN, false, "Unable to copy cell concepts.");
     338                    psFree(outRO);
     339                    goto ERROR;
     340                }
     341
    334342                pmCell *sigmaCell = pmFPAfileThisCell(config->files, view, "PPMERGE.OUTPUT.SIGMA");
    335343                pmReadout *sigmaRO = pmReadoutAlloc(sigmaCell); // Readout with stdev per pixel
     
    339347                sigmaRO->data_exists = sigmaCell->data_exists = sigmaCell->parent->data_exists = true;
    340348                psFree(sigmaRO);
     349
     350                if (!pmConceptsCopyCell(sigmaCell, outCell)) {
     351                    psError(PS_ERR_UNKNOWN, false, "Unable to copy cell concepts.");
     352                    psFree(outRO);
     353                    goto ERROR;
     354                }
    341355            }
    342356
Note: See TracChangeset for help on using the changeset viewer.