Changeset 21139
- Timestamp:
- Jan 18, 2009, 9:43:36 AM (17 years ago)
- Location:
- trunk/ppMerge/src
- Files:
-
- 2 edited
-
ppMergeLoop.c (modified) (2 diffs)
-
ppMergeLoop_Threaded.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppMerge/src/ppMergeLoop.c
r18757 r21139 254 254 psFree(countsRO); 255 255 256 // XXX EAM 2009.01.18 : sigmaCell and countsCell need to have their concepts copied from outCell. 257 // This was causing segfaults for VYSOS5; Why did this ever work for SIMTEST? 258 if (!pmConceptsCopyCell(countsCell, outCell)) { 259 psError(PS_ERR_UNKNOWN, false, "Unable to copy cell concepts."); 260 psFree(outRO); 261 goto ERROR; 262 } 263 256 264 pmCell *sigmaCell = pmFPAfileThisCell(config->files, view, "PPMERGE.OUTPUT.SIGMA"); 257 265 pmReadout *sigmaRO = pmReadoutAlloc(sigmaCell); // Readout with stdev per pixel … … 261 269 sigmaRO->data_exists = sigmaCell->data_exists = sigmaCell->parent->data_exists = true; 262 270 psFree(sigmaRO); 271 272 if (!pmConceptsCopyCell(sigmaCell, outCell)) { 273 psError(PS_ERR_UNKNOWN, false, "Unable to copy cell concepts."); 274 psFree(outRO); 275 goto ERROR; 276 } 263 277 } 264 278 -
trunk/ppMerge/src/ppMergeLoop_Threaded.c
r19081 r21139 332 332 psFree(countsRO); 333 333 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 334 342 pmCell *sigmaCell = pmFPAfileThisCell(config->files, view, "PPMERGE.OUTPUT.SIGMA"); 335 343 pmReadout *sigmaRO = pmReadoutAlloc(sigmaCell); // Readout with stdev per pixel … … 339 347 sigmaRO->data_exists = sigmaCell->data_exists = sigmaCell->parent->data_exists = true; 340 348 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 } 341 355 } 342 356
Note:
See TracChangeset
for help on using the changeset viewer.
