diff --git a/src/storm/storage/dd/DdManager.cpp b/src/storm/storage/dd/DdManager.cpp index dbba10a29..6a00b4cbf 100644 --- a/src/storm/storage/dd/DdManager.cpp +++ b/src/storm/storage/dd/DdManager.cpp @@ -215,7 +215,7 @@ namespace storm { template std::vector DdManager::addMetaVariable(std::string const& name, int_fast64_t low, int_fast64_t high, uint64_t numberOfLayers, boost::optional> const& position) { - return this->addMetaVariableHelper(MetaVariableType::Int, name, std::max(static_cast(std::ceil(std::log2(high - low + 1))), 1ull), numberOfLayers, position, std::make_pair(low, high)); + return this->addMetaVariableHelper(MetaVariableType::Int, name, std::max(static_cast(std::ceil(std::log2(high - low + 1))), static_cast(1)), numberOfLayers, position, std::make_pair(low, high)); } template