diff --git a/src/storm/storage/BitVector.cpp b/src/storm/storage/BitVector.cpp index a4ad5fca9..8df237df3 100644 --- a/src/storm/storage/BitVector.cpp +++ b/src/storm/storage/BitVector.cpp @@ -156,6 +156,7 @@ namespace storm { // Only perform the assignment if the source and target are not identical. if (this != &other) { bitCount = other.bitCount; + other.bitCount = 0; if (this->buckets) { delete[] this->buckets; }