Changeset 18347 for trunk/psModules
- Timestamp:
- Jun 27, 2008, 12:28:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtractionMatch.c
r18287 r18347 537 537 goto MATCH_ERROR; 538 538 } 539 psFree(kernels);540 kernels = NULL;541 542 // There is data in the readout now543 if (mode == PM_SUBTRACTION_MODE_1 || mode == PM_SUBTRACTION_MODE_DUAL) {544 conv1->data_exists = true;545 if (conv1->parent) {546 conv1->parent->data_exists = true;547 conv1->parent->parent->data_exists = true;548 }549 }550 if (mode == PM_SUBTRACTION_MODE_2 || mode == PM_SUBTRACTION_MODE_DUAL) {551 conv2->data_exists = true;552 if (conv2->parent) {553 conv2->parent->data_exists = true;554 conv2->parent->parent->data_exists = true;555 }556 }557 558 539 559 540 // Set the variance factors … … 579 560 psAbort("Should never reach here."); 580 561 } 562 563 psFree(kernels); 564 kernels = NULL; 565 566 // There is data in the readout now 567 if (mode == PM_SUBTRACTION_MODE_1 || mode == PM_SUBTRACTION_MODE_DUAL) { 568 conv1->data_exists = true; 569 if (conv1->parent) { 570 conv1->parent->data_exists = true; 571 conv1->parent->parent->data_exists = true; 572 } 573 } 574 if (mode == PM_SUBTRACTION_MODE_2 || mode == PM_SUBTRACTION_MODE_DUAL) { 575 conv2->data_exists = true; 576 if (conv2->parent) { 577 conv2->parent->data_exists = true; 578 conv2->parent->parent->data_exists = true; 579 } 580 } 581 581 } 582 582 }
Note:
See TracChangeset
for help on using the changeset viewer.
