Index: trunk/psLib/src/math/psPolynomial.c
===================================================================
--- trunk/psLib/src/math/psPolynomial.c	(revision 6186)
+++ trunk/psLib/src/math/psPolynomial.c	(revision 6193)
@@ -7,6 +7,6 @@
 *  polynomials.  It also contains a Gaussian functions.
 *
-*  @version $Revision: 1.136 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2006-01-23 22:25:31 $
+*  @version $Revision: 1.137 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2006-01-26 00:31:19 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -194,4 +194,9 @@
         }
 
+        if (psTraceGetLevel(__func__) >= 6) {
+            for (psS32 j = 0; j < numPolys; j++) {
+                PS_POLY_PRINT_1D(chebPolys[j]);
+            }
+        }
         return (chebPolys);
     }
@@ -606,4 +611,6 @@
 /*****************************************************************************
     This routine must allocate memory for the polynomial structures.
+ 
+    XXX: How do we check for an appropriate value for n?
  *****************************************************************************/
 psPolynomial1D* psPolynomial1DAlloc(
@@ -611,5 +618,5 @@
     psPolynomialType type)
 {
-    PS_ASSERT_INT_NONNEGATIVE(n, NULL);
+    //PS_ASSERT_INT_NONNEGATIVE(n, NULL);
     psU32 nOrder = n;
     psPolynomial1D *newPoly = (psPolynomial1D* ) psAlloc(sizeof(psPolynomial1D));
@@ -636,6 +643,6 @@
                                      psPolynomialType type)
 {
-    PS_ASSERT_INT_NONNEGATIVE(nX, NULL);
-    PS_ASSERT_INT_NONNEGATIVE(nY, NULL);
+    //PS_ASSERT_INT_NONNEGATIVE(nX, NULL);
+    //PS_ASSERT_INT_NONNEGATIVE(nY, NULL);
 
     unsigned int x = 0;
@@ -674,7 +681,7 @@
                                      psPolynomialType type)
 {
-    PS_ASSERT_INT_NONNEGATIVE(nX, NULL);
-    PS_ASSERT_INT_NONNEGATIVE(nY, NULL);
-    PS_ASSERT_INT_NONNEGATIVE(nZ, NULL);
+    //PS_ASSERT_INT_NONNEGATIVE(nX, NULL);
+    //PS_ASSERT_INT_NONNEGATIVE(nY, NULL);
+    //PS_ASSERT_INT_NONNEGATIVE(nZ, NULL);
 
     unsigned int x = 0;
@@ -723,8 +730,8 @@
                                      psPolynomialType type)
 {
-    PS_ASSERT_INT_NONNEGATIVE(nX, NULL);
-    PS_ASSERT_INT_NONNEGATIVE(nY, NULL);
-    PS_ASSERT_INT_NONNEGATIVE(nZ, NULL);
-    PS_ASSERT_INT_NONNEGATIVE(nT, NULL);
+    //PS_ASSERT_INT_NONNEGATIVE(nX, NULL);
+    //PS_ASSERT_INT_NONNEGATIVE(nY, NULL);
+    //PS_ASSERT_INT_NONNEGATIVE(nZ, NULL);
+    //PS_ASSERT_INT_NONNEGATIVE(nT, NULL);
 
     unsigned int x = 0;
