diff --git a/src/storage/dd/DdManager.cpp b/src/storage/dd/DdManager.cpp index 0f1e65fee..22dc7c753 100644 --- a/src/storage/dd/DdManager.cpp +++ b/src/storage/dd/DdManager.cpp @@ -107,12 +107,11 @@ namespace storm { } #ifdef STORM_HAVE_CARL - template - template<> - Add DdManager::getIdentity(storm::expressions::Variable const& variable) const { - storm::dd::DdMetaVariable const& metaVariable = this->getMetaVariable(variable); + template<> + Add DdManager::getIdentity(storm::expressions::Variable const& variable) const { + storm::dd::DdMetaVariable const& metaVariable = this->getMetaVariable(variable); - Add result = this->getAddZero(); + Add result = this->getAddZero(); for (int_fast64_t value = metaVariable.getLow(); value <= metaVariable.getHigh(); ++value) { storm::RationalFunction constantFunction(value); result += this->getEncoding(variable, value).template toAdd() * this->getConstant(constantFunction);