Index: trunk/psLib/src/math/psPolynomialUtils.c
===================================================================
--- trunk/psLib/src/math/psPolynomialUtils.c	(revision 15049)
+++ trunk/psLib/src/math/psPolynomialUtils.c	(revision 15254)
@@ -159,7 +159,7 @@
 
     psPolynomial2D *poly = psPolynomial2DAlloc (PS_POLYNOMIAL_ORD, 2, 2);
-    poly->mask[2][2] = 1;
-    poly->mask[1][2] = 1;
-    poly->mask[2][1] = 1;
+    poly->coeffMask[2][2] = PS_POLY_MASK_SET;
+    poly->coeffMask[1][2] = PS_POLY_MASK_SET;
+    poly->coeffMask[2][1] = PS_POLY_MASK_SET;
 
     poly->coeff[0][0] = Foo*(5.0/9.0) - (Fxp + Fxm)/3.0 - (Fyp + Fym)/3.0 ;
@@ -212,5 +212,5 @@
     for (int i = 0; i < nXout + 1; i++) {
         for (int j = 0; j < nYout + 1; j++) {
-            out->mask[i][j] = poly->mask[i+1][j];
+            out->coeffMask[i][j] = poly->coeffMask[i+1][j];
             out->coeff[i][j] = poly->coeff[i+1][j] * (i+1);
         }
@@ -240,5 +240,5 @@
     for (int i = 0; i < nXout + 1; i++) {
         for (int j = 0; j < nYout + 1; j++) {
-            out->mask[i][j] = poly->mask[i][j+1];
+            out->coeffMask[i][j] = poly->coeffMask[i][j+1];
             out->coeff[i][j] = poly->coeff[i][j+1] * (j+1);
         }
