Changeset 5528 for trunk/psphot/src/psPolynomials.c
- Timestamp:
- Nov 16, 2005, 1:00:49 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psPolynomials.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psPolynomials.c
r5350 r5528 257 257 newPoly->coeffErr = (psF64 **)psAlloc(nXterm * sizeof(psF64 *)); 258 258 newPoly->mask = (psMaskType **)psAlloc(nXterm * sizeof(psMaskType *)); 259 // XXX EAM : this is an error in the definition of the polynomial mask 260 // (should be psU8 not char) 259 261 260 for (x = 0; x < nXterm; x++) { 262 261 newPoly->coeff[x] = (psF64 *)psAlloc(nYterm * sizeof(psF64)); 263 262 newPoly->coeffErr[x] = (psF64 *)psAlloc(nYterm * sizeof(psF64)); 264 newPoly->mask[x] = ( char*)psAlloc(nYterm * sizeof(char));263 newPoly->mask[x] = (psU8 *)psAlloc(nYterm * sizeof(char)); 265 264 } 266 265 for (x = 0; x < nXterm; x++) {
Note:
See TracChangeset
for help on using the changeset viewer.
