- Timestamp:
- Aug 9, 2017, 12:47:22 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20170809/src/libfits/table/F_uncompress_T.c
r39457 r40113 267 267 unsigned long int Nrows = (row == Ntile - 1) ? ztilelast : ztilelen; 268 268 unsigned long int Nraw = Nrows*fields[i].Nvalues*fields[i].pixsize; // expected number of bytes 269 unsigned long int Npix_expect = Nrows*fields[i].Nvalues; // expected number of pixels 270 271 myAssert (Nraw <= Nraw_alloc, "bad size"); 269 272 if (!gfits_uncompress_data (zdata, Nzdata, fields[i].zctype, NULL, NULL, 0, raw, &Nraw, Nraw_alloc, fields[i].pixsize)) ESCAPE; 273 myAssert (Npix_expect == Nraw, "bad size"); 270 274 271 275 if (VERBOSE_DUMP) {
Note:
See TracChangeset
for help on using the changeset viewer.
