diff --git a/src/storage/dd/sylvan/InternalSylvanDdManager.cpp b/src/storage/dd/sylvan/InternalSylvanDdManager.cpp index 57fa7caa5..2c9fa88ae 100644 --- a/src/storage/dd/sylvan/InternalSylvanDdManager.cpp +++ b/src/storage/dd/sylvan/InternalSylvanDdManager.cpp @@ -125,12 +125,10 @@ namespace storm { return InternalAdd(this, sylvan::Mtbdd::stormRationalFunctionTerminal(value)); } #endif - + std::pair, InternalBdd> InternalDdManager::createNewDdVariablePair(boost::optional const& position) { STORM_LOG_THROW(!position, storm::exceptions::NotSupportedException, "The manager does not support ordered insertion."); - } - - std::pair, InternalBdd> InternalDdManager::createNewDdVariablePair() { + InternalBdd first = InternalBdd(this, sylvan::Bdd::bddVar(nextFreeVariableIndex)); InternalBdd second = InternalBdd(this, sylvan::Bdd::bddVar(nextFreeVariableIndex + 1)); nextFreeVariableIndex += 2;