Changeset 2481
- Timestamp:
- Nov 24, 2004, 4:54:45 PM (22 years ago)
- Location:
- trunk/psModules/src
- Files:
-
- 3 edited
-
pmNonLinear.c (modified) (2 diffs)
-
pmSubtractBias.c (modified) (4 diffs)
-
psTest.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/pmNonLinear.c
r2275 r2481 5 5 * @author George Gusciora, MHPCC 6 6 * 7 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $8 * @date $Date: 2004-11- 04 02:02:10$7 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2004-11-25 02:54:45 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 40 40 for (i=0;i<(in->image)->numRows;i++) { 41 41 for (j=0;j<(in->image)->numCols;j++) { 42 (in->image)->data.F32[i][j] = psPolynomial1DEval( (in->image)->data.F32[i][j], coeff);42 (in->image)->data.F32[i][j] = psPolynomial1DEval(coeff, (in->image)->data.F32[i][j]); 43 43 } 44 44 } -
trunk/psModules/src/pmSubtractBias.c
r2275 r2481 6 6 * @author George Gusciora, MHPCC 7 7 * 8 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-11- 04 02:02:10$8 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-11-25 02:54:45 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 174 174 for (i=0;i<n;i++) { 175 175 x = ((float) i) * ((float) overscanVector->n) / ((float) n); 176 newVec->data.F32[i] = psPolynomial1DEval( x, myPoly);176 newVec->data.F32[i] = psPolynomial1DEval(myPoly, x); 177 177 } 178 178 } else if (fit == PM_FIT_SPLINE) { … … 186 186 for (i=0;i<n;i++) { 187 187 x = ((float) i) * ((float) overscanVector->n) / ((float) n); 188 newVec->data.F32[i] = psSpline1DEval( mySpline, x);188 newVec->data.F32[i] = psSpline1DEval(x, mySpline); 189 189 } 190 190 } else { … … 367 367 myPoly = psVectorFitPolynomial1D(myPoly, NULL, overscanVector, NULL); 368 368 for (i=0;i<numBins;i++) { 369 overscanVector->data.F32[i] = psPolynomial1DEval( (float) i, myPoly);369 overscanVector->data.F32[i] = psPolynomial1DEval(myPoly, (float) i); 370 370 } 371 371 -
trunk/psModules/src/psTest.c
r2275 r2481 151 151 psS32 retVal = fcn(); 152 152 if ( retVal == 0 ) { // only bother checking memory if test executed to end. 153 if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) {153 if ( psMemCheckLeaks( currentId, NULL, stderr, false ) != 0 ) { 154 154 psError(PS_ERR_UNKNOWN, true, "Memory Leaks Detected" ); 155 155 retVal = 64; … … 175 175 childReturn = fcn(); 176 176 if ( childReturn == 0 ) { // only bother checking memory if test executed to end. 177 if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) {177 if ( psMemCheckLeaks( currentId, NULL, stderr, false ) != 0 ) { 178 178 psError(PS_ERR_UNKNOWN, true, "Memory Leaks Detected" ); 179 179 childReturn = 64;
Note:
See TracChangeset
for help on using the changeset viewer.
