Changeset 5091 for trunk/psLib/src/math/psPolynomial.c
- Timestamp:
- Sep 21, 2005, 5:00:31 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psPolynomial.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psPolynomial.c
r5090 r5091 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.12 3$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-09-22 0 2:47:16$9 * @version $Revision: 1.124 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-09-22 03:00:31 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 95 95 unsigned int x = 0; 96 96 97 for (x = 0; x < poly->COOL_2D_nX; x++) {97 for (x = 0; x < (1 + poly->COOL_2D_nX); x++) { 98 98 psFree(poly->coeff[x]); 99 99 psFree(poly->coeffErr[x]); … … 110 110 unsigned int y = 0; 111 111 112 for (x = 0; x < poly->COOL_3D_nX; x++) {113 for (y = 0; y < poly->COOL_3D_nY; y++) {112 for (x = 0; x < (1 + poly->COOL_3D_nX); x++) { 113 for (y = 0; y < (1 + poly->COOL_3D_nY); y++) { 114 114 psFree(poly->coeff[x][y]); 115 115 psFree(poly->coeffErr[x][y]); … … 132 132 unsigned int z = 0; 133 133 134 for (x = 0; x < poly->COOL_4D_nX; x++) {135 for (y = 0; y < poly->COOL_4D_nY; y++) {136 for (z = 0; z < poly->COOL_4D_nZ; z++) {134 for (x = 0; x < (1 + poly->COOL_4D_nX); x++) { 135 for (y = 0; y < (1 + poly->COOL_4D_nY); y++) { 136 for (z = 0; z < (1 + poly->COOL_4D_nZ); z++) { 137 137 psFree(poly->coeff[x][y][z]); 138 138 psFree(poly->coeffErr[x][y][z]);
Note:
See TracChangeset
for help on using the changeset viewer.
