From bd59d083eec5f6debcf190b69cedc303683553da Mon Sep 17 00:00:00 2001 From: Ilya Kuznetsov Date: Mon, 30 Sep 2024 17:26:46 +0200 Subject: [PATCH] fixed bitmap inversion --- util/bitvec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/bitvec.h b/util/bitvec.h index c92f9114..7a67b6c4 100644 --- a/util/bitvec.h +++ b/util/bitvec.h @@ -56,7 +56,7 @@ class BitVec_T iMaxBit = m_iSize; int iMinId = iMinBit>>SHIFT; - int iMaxId = (iMaxBit+SIZEBITS-1)>>SHIFT; + int iMaxId = (iMaxBit+SIZEBITS)>>SHIFT; for ( int i = iMinId; i