From 5bafcbe816126f2aa0402f1e9116b04c6b21446b Mon Sep 17 00:00:00 2001 From: Sebastian Junges Date: Fri, 5 Oct 2018 17:59:46 +0200 Subject: [PATCH] prism to jani: return properties also in simple cases --- src/storm/storage/prism/Program.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/storm/storage/prism/Program.cpp b/src/storm/storage/prism/Program.cpp index 332bef0fd..e9f6f8ecb 100644 --- a/src/storm/storage/prism/Program.cpp +++ b/src/storm/storage/prism/Program.cpp @@ -1820,6 +1820,8 @@ namespace storm { std::vector newProperties; if (converter.labelsWereRenamed() || converter.rewardModelsWereRenamed()) { newProperties = converter.applyRenaming(properties); + } else { + newProperties = properties; // Nothing to be done here. Notice that the copy operation is suboptimal. } return std::make_pair(janiModel, newProperties); }