Changeset 19706
- Timestamp:
- Sep 23, 2008, 1:49:01 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPABin.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPABin.c
r19705 r19706 48 48 } 49 49 50 if (numPix > 0) { 51 outImage->data.F32[yOut][xOut] = sum / numPix; 52 } else { 53 outImage->data.F32[yOut][xOut] = NAN; 54 } 50 outImage->data.F32[yOut][xOut] = numPix > 0 ? sum / numPix : NAN; 55 51 } 56 52 } … … 65 61 if (in->parent) { 66 62 pmCell *inCell = in->parent;// Input cell 63 psAssert(outCell != inCell, "Can't copy in place!"); 67 64 psFree(outCell->concepts); 68 65 outCell->concepts = psMetadataCopy(NULL, inCell->concepts);
Note:
See TracChangeset
for help on using the changeset viewer.
