Index: trunk/psLib/src/math/psMinimizePolyFit.c
===================================================================
--- trunk/psLib/src/math/psMinimizePolyFit.c	(revision 6226)
+++ trunk/psLib/src/math/psMinimizePolyFit.c	(revision 6305)
@@ -10,6 +10,6 @@
  *  @author EAM, IfA
  *
- *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-01-27 20:08:58 $
+ *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-02-02 21:09:07 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -34,4 +34,5 @@
 #include "psBinaryOp.h"
 #include "psLogMsg.h"
+#include "psMathUtils.h"
 /*****************************************************************************/
 /* DEFINE STATEMENTS                                                         */
@@ -684,6 +685,5 @@
             f->data.F64[i] = y->data.F64[x->n-1];
         } else {
-            fScalar = p_psVectorInterpolate((psVector *) x, (psVector *) y,
-                                            3, &tmpScalar);
+            fScalar = p_psVectorInterpolate(NULL, (psVector *) x, (psVector *) y, 3, &tmpScalar);
             if (fScalar == NULL) {
                 psError(PS_ERR_UNKNOWN, false, "Could not perform vector interpolation.  Returning NULL.\n");
