| 78 | | since subim1 and subim2 go out of scope after the j loop. At least I thought that was why... Still a problem... |
| | 78 | since subim1 and subim2 go out of scope after the j loop. At least I thought that was why... |
| | 79 | |
| | 80 | I figured that if I defined early in the script |
| | 81 | {{{ |
| | 82 | subim1 = afwImage.MaskedImageF() |
| | 83 | subim2 = afwImage.MaskedImageF() |
| | 84 | }}} |
| | 85 | this would fix things. However, it still crashes in one window I am testing it in. In another window the exact same script runs. Clearly a memory problem... |