Browse Source

fixed but in BitVector.resize()

additional buckets should be initialized with zero.
however, the *old* bucketarray was initialized, not the *new* one.
tempestpy_adaptions
gereon 12 years ago
parent
commit
296a3a1992
  1. 2
      src/storage/BitVector.h

2
src/storage/BitVector.h

@ -201,7 +201,7 @@ public:
// Initialize missing values in the new bit vector.
for (uint_fast64_t i = copySize; i < bucketCount; ++i) {
bucketArray[i] = 0;
tempArray[i] = 0;
}
// Dispose of the old bit vector and set the new one.

Loading…
Cancel
Save