Changeset 6204 for trunk/psLib/src/math/psMinimizePolyFit.c
- Timestamp:
- Jan 26, 2006, 11:10:22 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psMinimizePolyFit.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psMinimizePolyFit.c
r6193 r6204 10 10 * @author EAM, IfA 11 11 * 12 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $13 * @date $Date: 2006-01-26 00:31:19$12 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-01-26 21:10:22 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 350 350 // We first fit an ordinary polynomial to the data. 351 351 // 352 psPolynomial1D *ordPoly = psPolynomial1DAlloc( polyOrder, PS_POLYNOMIAL_ORD);352 psPolynomial1D *ordPoly = psPolynomial1DAlloc(PS_POLYNOMIAL_ORD, polyOrder); 353 353 psPolynomial1D *rc = VectorFitPolynomial1DOrd(ordPoly, mask, maskValue, y, yErr, x); 354 354 if (rc == NULL) { … … 965 965 } 966 966 } else { 967 psError(PS_ERR_UNKNOWN, true, "Incorrect polynomial type . Returning NULL.\n");967 psError(PS_ERR_UNKNOWN, true, "Incorrect polynomial type (%d). Returning NULL.\n", poly->type); 968 968 poly = NULL; 969 969 }
Note:
See TracChangeset
for help on using the changeset viewer.
