Changeset 4995 for trunk/psLib/test/math/tst_psMinimize04b.c
- Timestamp:
- Sep 12, 2005, 10:31:24 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/math/tst_psMinimize04b.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/math/tst_psMinimize04b.c
r4973 r4995 1 1 /***************************************************************************** 2 2 This routine must ensure that the psVectorFitPolynomial1D works correctly. 3 4 We use Chebyshev polynomials here. 3 5 *****************************************************************************/ 4 6 #include <stdio.h> … … 52 54 "psVectorFitPolynomial1D(): CHEB, equal errors in yErr"); 53 55 54 psVectorFitPolynomial1D(myPoly, x, y, yErr);56 psVectorFitPolynomial1D(myPoly, NULL, 0, y, yErr, x); 55 57 56 58 // Remove for testing since print out differs from platforms … … 121 123 "psVectorFitPolynomial1D(): CHEB, yErr is NULL"); 122 124 123 psVectorFitPolynomial1D(myPoly, x, y, NULL);125 psVectorFitPolynomial1D(myPoly, NULL, 0, y, NULL, x); 124 126 125 127 // We don't test the first or last few data items. … … 184 186 "psVectorFitPolynomial1D(): CHEB, x, yErr is NULL"); 185 187 186 psVectorFitPolynomial1D(myPoly, NULL, y, NULL);188 psVectorFitPolynomial1D(myPoly, NULL, 0, y, NULL, NULL); 187 189 // psVectorFitPolynomial1D(myPoly, x, y, NULL); 188 190 … … 232 234 233 235 psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error for null arguments."); 234 myPoly = psVectorFitPolynomial1D(NULL, NULL, NULL, NULL);236 psVectorFitPolynomial1D(myPoly, NULL, 0, NULL, NULL, NULL); 235 237 if (myPoly != NULL) { 236 238 printf("ERROR: psVectorFitPolynomial1D() returned a non-NULL polynomial.\n");
Note:
See TracChangeset
for help on using the changeset viewer.
