# HG changeset patch # User Sebastien Jodogne # Date 1734709031 -3600 # Node ID 6b3de7a6052d363bedfb52c129ff141ad0c1a0f9 # Parent 9e4dcbb578e320e0d455516c9dd9f35eae295ab9 fix diff -r 9e4dcbb578e3 -r 6b3de7a6052d Framework/Inputs/DecodedPyramidCache.cpp --- a/Framework/Inputs/DecodedPyramidCache.cpp Fri Dec 20 15:28:19 2024 +0100 +++ b/Framework/Inputs/DecodedPyramidCache.cpp Fri Dec 20 16:37:11 2024 +0100 @@ -64,8 +64,7 @@ bool DecodedPyramidCache::SanityCheck() { - return (cache_.GetSize() < maxCount_ && - (cache_.IsEmpty() || maxMemory_ == 0 || memoryUsage_ <= maxMemory_)); + return (cache_.GetSize() < maxCount_); }