From 1d3bb3010df51ef883187a7e698e8811978a2804 Mon Sep 17 00:00:00 2001 From: PBerger Date: Sun, 7 Aug 2016 22:45:20 +0200 Subject: [PATCH] Fixed merge mistake in InternalSylvanDdManager.cpp Former-commit-id: 5919f2402eb7c0b77bb18e58a24d92f2a4f80289 --- src/storage/dd/sylvan/InternalSylvanDdManager.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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;