Browse Source

prism to jani: return properties also in simple cases

tempestpy_adaptions
Sebastian Junges 6 years ago
parent
commit
5bafcbe816
  1. 2
      src/storm/storage/prism/Program.cpp

2
src/storm/storage/prism/Program.cpp

@ -1820,6 +1820,8 @@ namespace storm {
std::vector<storm::jani::Property> newProperties; std::vector<storm::jani::Property> newProperties;
if (converter.labelsWereRenamed() || converter.rewardModelsWereRenamed()) { if (converter.labelsWereRenamed() || converter.rewardModelsWereRenamed()) {
newProperties = converter.applyRenaming(properties); 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); return std::make_pair(janiModel, newProperties);
} }

Loading…
Cancel
Save