Ignore:
Timestamp:
10/11/13 17:11:13 (11 years ago)
Author:
lyard
Message:
Added the brand new zofits class.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/fits.h

    r17206 r17216  
    267267            num_cols      = Get<size_t>("TFIELDS");
    268268            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;
    270270            size_t bytes = 0;
    271271
     
    456456        streamoff GetHeapShift() const
    457457        {
    458             if (!HasKey("THEAP"))
     458            if (!HasKey("ZHEAPPTR"))
    459459                return 0;
    460460
    461             const size_t shift = Get<size_t>("THEAP");
     461            const size_t shift = Get<size_t>("ZHEAPPTR");
    462462            return shift <= total_bytes ? 0 : shift - total_bytes;
    463463        }
Note: See TracChangeset for help on using the changeset viewer.