Changeset 20067 for trunk/Mars/mcore


Ignore:
Timestamp:
04/12/21 14:44:29 (4 years ago)
Author:
tbretz
Message:
That is a better solution.
File:
1 edited

Legend:

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

    r20062 r20067  
    10491049    bool IsHeaderOk() const { return fTable.datasum<0?false:(fChkHeader+Checksum(fTable.datasum)).valid(); }
    10501050    virtual bool IsFileOk() const { return (fChkHeader+fChkData).valid(); }
    1051     uint32_t GetChecksum() const { return (fChkHeader+fChkData).val(); }
     1051    Checksum GetChecksum() const { return fChkHeader+Checksum(fTable.datasum); }
    10521052
    10531053    bool IsCompressedFITS() const { return fTable.is_compressed;}
Note: See TracChangeset for help on using the changeset viewer.