Changeset 17216 for trunk/Mars/mcore/fits.h
- Timestamp:
- 10/11/13 17:11:13 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcore/fits.h
r17206 r17216 267 267 num_cols = Get<size_t>("TFIELDS"); 268 268 datasum = is_compressed ? Get<int64_t>("ZDATASUM", -1) : Get<int64_t>("DATASUM", -1); 269 269 //cout << "IS COMPRESSED =-========= " << is_compressed << " " << Get<size_t>("NAXIS1") << endl; 270 270 size_t bytes = 0; 271 271 … … 456 456 streamoff GetHeapShift() const 457 457 { 458 if (!HasKey(" THEAP"))458 if (!HasKey("ZHEAPPTR")) 459 459 return 0; 460 460 461 const size_t shift = Get<size_t>(" THEAP");461 const size_t shift = Get<size_t>("ZHEAPPTR"); 462 462 return shift <= total_bytes ? 0 : shift - total_bytes; 463 463 }
Note:
See TracChangeset
for help on using the changeset viewer.