Browse Source

fix erroneous copy constructor of bit vector

tempestpy_adaptions
dehnert 7 years ago
parent
commit
c94bc3a585
  1. 2
      src/storm/storage/BitVector.cpp

2
src/storm/storage/BitVector.cpp

@ -118,6 +118,8 @@ namespace storm {
bitCount = other.bitCount;
if (buckets && bucketCount() != other.bucketCount()) {
delete[] buckets;
}
if (!buckets) {
buckets = new uint64_t[other.bucketCount()];
}
std::copy_n(other.buckets, other.bucketCount(), buckets);

Loading…
Cancel
Save