Browse Source

Fixed compile errors: Added missing include and fixed call of std::max

Former-commit-id: 614689e26f
tempestpy_adaptions
TimQu 9 years ago
parent
commit
6006d95193
  1. 1
      src/storage/dd/sylvan/InternalSylvanBdd.h
  2. 2
      src/storage/dd/sylvan/InternalSylvanDdManager.cpp

1
src/storage/dd/sylvan/InternalSylvanBdd.h

@ -4,6 +4,7 @@
#include <vector>
#include <unordered_map>
#include <functional>
#include <memory>
#include "src/storage/dd/DdType.h"
#include "src/storage/dd/InternalBdd.h"

2
src/storage/dd/sylvan/InternalSylvanDdManager.cpp

@ -38,7 +38,7 @@ namespace storm {
// Compute the power of two that still fits within the total numbers to store.
uint_fast64_t powerOfTwo = findLargestPowerOfTwoFitting(totalNodesToStore);
sylvan::Sylvan::initPackage(1ull << std::max(16ull, powerOfTwo > 24 ? powerOfTwo - 8 : 0), 1ull << (powerOfTwo - 1), 1ull << std::max(16ull, powerOfTwo > 24 ? powerOfTwo - 12 : 0), 1ull << (powerOfTwo - 1));
sylvan::Sylvan::initPackage(1ull << std::max(16ull, powerOfTwo > 24 ? powerOfTwo - 8 : 0ull), 1ull << (powerOfTwo - 1), 1ull << std::max(16ull, powerOfTwo > 24 ? powerOfTwo - 12 : 0ull), 1ull << (powerOfTwo - 1));
sylvan::Sylvan::initBdd(1);
sylvan::Sylvan::initMtbdd();
}

Loading…
Cancel
Save