Changeset 4995 for trunk/psLib/test/math/tst_psMinimize04b_F32.c
- Timestamp:
- Sep 12, 2005, 10:31:24 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/math/tst_psMinimize04b_F32.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/math/tst_psMinimize04b_F32.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 printout differs between 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 188 190 // We don't test the first or last few data items. … … 234 236 235 237 psLogMsg(__func__,PS_LOG_INFO,"Following should generate error for null arguments."); 236 myPoly = psVectorFitPolynomial1D(NULL, NULL, NULL, NULL);238 psVectorFitPolynomial1D(myPoly, NULL, 0, NULL, NULL, NULL); 237 239 if (myPoly != NULL) { 238 240 printf("ERROR: psVectorFitPolynomial1D() returned a non-NULL polynomial.\n");
Note:
See TracChangeset
for help on using the changeset viewer.
