From 41199ea5c7b14868568deb4dbffbf20487d65294 Mon Sep 17 00:00:00 2001 From: Matthias Volk Date: Mon, 30 Mar 2020 14:55:21 +0200 Subject: [PATCH] Append in dot output for DDs --- src/storm/storage/dd/cudd/InternalCuddBdd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storm/storage/dd/cudd/InternalCuddBdd.cpp b/src/storm/storage/dd/cudd/InternalCuddBdd.cpp index a850d6329..647c6b7ce 100644 --- a/src/storm/storage/dd/cudd/InternalCuddBdd.cpp +++ b/src/storm/storage/dd/cudd/InternalCuddBdd.cpp @@ -196,7 +196,7 @@ namespace storm { // Open the file, dump the DD and close it again. std::vector cuddBddVector = { this->getCuddBdd() }; - FILE* filePointer = fopen(filename.c_str() , "w"); + FILE* filePointer = fopen(filename.c_str() , "a+"); if (showVariablesIfPossible) { ddManager->getCuddManager().DumpDot(cuddBddVector, ddVariableNames.data(), &ddNames[0], filePointer); } else {