From ee87067c9a27c68ead109989f093b35a05f8aec0 Mon Sep 17 00:00:00 2001 From: dehnert Date: Thu, 24 Aug 2017 09:13:30 +0200 Subject: [PATCH] fixed type to make gcc happy --- src/storm/storage/dd/DdManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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