mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-14 01:35:36 +00:00
More verbose on checksum
This commit is contained in:
parent
79fc821d8d
commit
d0b6593823
@ -162,8 +162,14 @@ template<class vobj> void ScidacMetaData(Lattice<vobj> & field,
|
|||||||
{
|
{
|
||||||
uint32_t scidac_checksuma = stoull(scidacChecksum_.suma,0,16);
|
uint32_t scidac_checksuma = stoull(scidacChecksum_.suma,0,16);
|
||||||
uint32_t scidac_checksumb = stoull(scidacChecksum_.sumb,0,16);
|
uint32_t scidac_checksumb = stoull(scidacChecksum_.sumb,0,16);
|
||||||
if ( scidac_csuma !=scidac_checksuma) return 0;
|
std::cout << GridLogMessage << " scidacChecksumVerify computed "<<scidac_csuma<<" expected "<<scidac_checksuma <<std::endl;
|
||||||
if ( scidac_csumb !=scidac_checksumb) return 0;
|
std::cout << GridLogMessage << " scidacChecksumVerify computed "<<scidac_csumb<<" expected "<<scidac_checksumb <<std::endl;
|
||||||
|
if ( scidac_csuma !=scidac_checksuma) {
|
||||||
|
return 0;
|
||||||
|
};
|
||||||
|
if ( scidac_csumb !=scidac_checksumb) {
|
||||||
|
return 0;
|
||||||
|
};
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user