Skip to content

Commit

Permalink
Fix inverted check in rawtf-reader max-tf-per-file check
Browse files Browse the repository at this point in the history
  • Loading branch information
shahor02 committed Dec 11, 2024
1 parent 3552bce commit a21ae94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Detectors/Raw/TFReaderDD/src/TFReaderSpec.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ void TFReaderSpec::TFBuilder()
} else {
break;
}
if (mInput.maxTFsPerFile > 0 && mInput.maxTFsPerFile >= locID) { // go to next file
if (mInput.maxTFsPerFile > 0 && locID >= mInput.maxTFsPerFile) { // go to next file
break;
}
}
Expand Down

0 comments on commit a21ae94

Please sign in to comment.