mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
reverse previous "fix", missing statement was probably intentional, added a comment to that effect
This commit is contained in:
parent
b5c81a02b6
commit
b27b12828e
@ -576,7 +576,8 @@ class ScidacReader : public GridLimeReader {
|
|||||||
std::string rec_name(ILDG_BINARY_DATA);
|
std::string rec_name(ILDG_BINARY_DATA);
|
||||||
while ( limeReaderNextRecord(LimeR) == LIME_SUCCESS ) {
|
while ( limeReaderNextRecord(LimeR) == LIME_SUCCESS ) {
|
||||||
if ( !strncmp(limeReaderType(LimeR), rec_name.c_str(),strlen(rec_name.c_str()) ) ) {
|
if ( !strncmp(limeReaderType(LimeR), rec_name.c_str(),strlen(rec_name.c_str()) ) ) {
|
||||||
skipPastObjectRecord(std::string(GRID_FIELD_NORM));
|
// in principle should do the line below, but that breaks backard compatibility with old data
|
||||||
|
// skipPastObjectRecord(std::string(GRID_FIELD_NORM));
|
||||||
skipPastObjectRecord(std::string(SCIDAC_CHECKSUM));
|
skipPastObjectRecord(std::string(SCIDAC_CHECKSUM));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user