Changeset 5528
- Timestamp:
- Nov 16, 2005, 1:00:49 PM (21 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 added
- 2 edited
-
doc/config.txt (added)
-
doc/versions.txt (added)
-
src/psPolynomials.c (modified) (1 diff)
-
src/psphotArguments.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++) { -
trunk/psphot/src/psphotArguments.c
r5350 r5528 5 5 psMetadata *psphotArguments (int *argc, char **argv) { 6 6 7 int N, Nfail; 7 int N; 8 unsigned int Nfail; 8 9 int mode = PS_DATA_STRING | PS_META_REPLACE; 9 10
Note:
See TracChangeset
for help on using the changeset viewer.
