Skip to content

Commit

Permalink
Fix assertion failure in TTreeCache
Browse files Browse the repository at this point in the history
  • Loading branch information
bellenot committed Dec 11, 2024
1 parent 98cb74d commit edf7cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree/tree/src/TTreeCache.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ bool TTreeCache::ProcessMiss(Long64_t pos, int len)
mcentry.fIndex = cumulative;
cumulative += mcentry.fIO.fLen;
}
fMissCache->fData.reserve(cumulative);
fMissCache->fData.resize(cumulative);
// printf("Reading %lu bytes into miss cache for %lu entries.\n", cumulative, fEntries->size());
fNMissReadPref += fMissCache->fEntries.size();
fFile->ReadBuffers(&(fMissCache->fData[0]), &(positions[0]), &(lengths[0]), fMissCache->fEntries.size());
Expand Down

0 comments on commit edf7cb5

Please sign in to comment.