Skip to content

Commit

Permalink
[ntuple] Fix typo in error message
Browse files Browse the repository at this point in the history
Co-authored-by: Florine de Geus <[email protected]>
  • Loading branch information
jblomer and enirolf authored Oct 5, 2023
1 parent 95fce7b commit f45ab3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree/ntuple/v7/src/RMiniFile.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ ROOT::Experimental::Internal::RMiniFileReader::GetNTupleProper(std::string_view
offset = key.GetSeekKey() + key.fKeyLen;

if (key.fObjLen < sizeof(RTFNTuple)) {
return R__FAIL("invalid anchor size: " + std::to_string(key.fObjLen) + " > " + std::to_string(sizeof(RTFNTuple)));
return R__FAIL("invalid anchor size: " + std::to_string(key.fObjLen) + " < " + std::to_string(sizeof(RTFNTuple)));
}
// The object length can be larger than the size of RTFNTuple if it comes from a future RNTuple class version.
auto bufAnchor = std::make_unique<unsigned char[]>(key.fObjLen);
Expand Down

0 comments on commit f45ab3a

Please sign in to comment.