Changeset 20067
- Timestamp:
- 04/12/21 14:44:29 (4 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fixfits.cc
r20061 r20067 535 535 fout.seekp(header["CHECKSUM"], ios::beg); 536 536 //fout.seekg(header["CHECKSUM"], ios::beg); 537 fout << left << setw(20) << string("'" + to_string(fits2.GetChecksum()) + "'");537 fout << left << setw(20) << string("'" + fits2.GetChecksum().str() + "'"); 538 538 539 539 fout.close(); -
trunk/Mars/mcore/fits.h
r20062 r20067 1049 1049 bool IsHeaderOk() const { return fTable.datasum<0?false:(fChkHeader+Checksum(fTable.datasum)).valid(); } 1050 1050 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); } 1052 1052 1053 1053 bool IsCompressedFITS() const { return fTable.is_compressed;}
Note:
See TracChangeset
for help on using the changeset viewer.