Index: /trunk/psModules/src/pmNonLinear.c
===================================================================
--- /trunk/psModules/src/pmNonLinear.c	(revision 2480)
+++ /trunk/psModules/src/pmNonLinear.c	(revision 2481)
@@ -5,6 +5,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-11-04 02:02:10 $
+ *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-11-25 02:54:45 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -40,5 +40,5 @@
     for (i=0;i<(in->image)->numRows;i++) {
         for (j=0;j<(in->image)->numCols;j++) {
-            (in->image)->data.F32[i][j] = psPolynomial1DEval((in->image)->data.F32[i][j], coeff);
+            (in->image)->data.F32[i][j] = psPolynomial1DEval(coeff, (in->image)->data.F32[i][j]);
         }
     }
Index: /trunk/psModules/src/pmSubtractBias.c
===================================================================
--- /trunk/psModules/src/pmSubtractBias.c	(revision 2480)
+++ /trunk/psModules/src/pmSubtractBias.c	(revision 2481)
@@ -6,6 +6,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-11-04 02:02:10 $
+ *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-11-25 02:54:45 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -174,5 +174,5 @@
         for (i=0;i<n;i++) {
             x = ((float) i) * ((float) overscanVector->n) / ((float) n);
-            newVec->data.F32[i] = psPolynomial1DEval(x, myPoly);
+            newVec->data.F32[i] = psPolynomial1DEval(myPoly, x);
         }
     } else if (fit == PM_FIT_SPLINE) {
@@ -186,5 +186,5 @@
         for (i=0;i<n;i++) {
             x = ((float) i) * ((float) overscanVector->n) / ((float) n);
-            newVec->data.F32[i] = psSpline1DEval(mySpline, x);
+            newVec->data.F32[i] = psSpline1DEval(x, mySpline);
         }
     } else {
@@ -367,5 +367,5 @@
                     myPoly = psVectorFitPolynomial1D(myPoly, NULL, overscanVector, NULL);
                     for (i=0;i<numBins;i++) {
-                        overscanVector->data.F32[i] = psPolynomial1DEval((float) i, myPoly);
+                        overscanVector->data.F32[i] = psPolynomial1DEval(myPoly, (float) i);
                     }
 
Index: /trunk/psModules/src/psTest.c
===================================================================
--- /trunk/psModules/src/psTest.c	(revision 2480)
+++ /trunk/psModules/src/psTest.c	(revision 2481)
@@ -151,5 +151,5 @@
             psS32 retVal = fcn();
             if ( retVal == 0 ) { // only bother checking memory if test executed to end.
-                if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) {
+                if ( psMemCheckLeaks( currentId, NULL, stderr, false ) != 0 ) {
                     psError(PS_ERR_UNKNOWN, true, "Memory Leaks Detected" );
                     retVal = 64;
@@ -175,5 +175,5 @@
         childReturn = fcn();
         if ( childReturn == 0 ) { // only bother checking memory if test executed to end.
-            if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) {
+            if ( psMemCheckLeaks( currentId, NULL, stderr, false ) != 0 ) {
                 psError(PS_ERR_UNKNOWN, true, "Memory Leaks Detected" );
                 childReturn = 64;
