Index: trunk/psLib/src/imageops/psImagePixelInterpolate.c
===================================================================
--- trunk/psLib/src/imageops/psImagePixelInterpolate.c	(revision 14924)
+++ trunk/psLib/src/imageops/psImagePixelInterpolate.c	(revision 15254)
@@ -11,6 +11,6 @@
  *  @author Eugene Magnier, IfA
  *
- *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-09-20 23:54:25 $
+ *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-10-09 19:25:44 $
  *
  *  Copyright 2007 Institute for Astronomy, University of Hawaii
@@ -153,7 +153,7 @@
     // allocate a 2D polynomial to fit a quadratic to the valid neighbor pixels.
     psPolynomial2D *poly = psPolynomial2DAlloc (PS_POLYNOMIAL_ORD, 2, 2);
-    poly->mask[2][2] = 1;
-    poly->mask[2][1] = 1;
-    poly->mask[1][2] = 1;
+    poly->coeffMask[2][2] = PS_POLY_MASK_SET;
+    poly->coeffMask[2][1] = PS_POLY_MASK_SET;
+    poly->coeffMask[1][2] = PS_POLY_MASK_SET;
 
     for (int iy = 0; iy < state->numRows; iy++) {
@@ -275,11 +275,11 @@
     // allocate a 2D polynomial to fit a quadratic to the valid neighbor pixels.
     psPolynomial2D *poly2o = psPolynomial2DAlloc (PS_POLYNOMIAL_ORD, 2, 2);
-    poly2o->mask[2][2] = 1;
-    poly2o->mask[2][1] = 1;
-    poly2o->mask[1][2] = 1;
+    poly2o->coeffMask[2][2] = PS_POLY_MASK_SET;
+    poly2o->coeffMask[2][1] = PS_POLY_MASK_SET;
+    poly2o->coeffMask[1][2] = PS_POLY_MASK_SET;
 
     // allocate a 2D polynomial to fit a plane to the valid neighbor pixels.
     psPolynomial2D *poly1o = psPolynomial2DAlloc (PS_POLYNOMIAL_ORD, 1, 1);
-    poly2o->mask[1][1] = 1;
+    poly2o->coeffMask[1][1] = PS_POLY_MASK_SET;
 
     for (int iy = 0; iy < state->numRows; iy++) {
