Browse Source

fixed regression that did not define undefined constants properly

tempestpy_adaptions
dehnert 8 years ago
parent
commit
ada12204e1
  1. 2
      src/storm/cli/cli.cpp

2
src/storm/cli/cli.cpp

@ -298,7 +298,7 @@ namespace storm {
std::map<storm::expressions::Variable, storm::expressions::Expression> constantDefinitions;
if (output.model) {
constantDefinitions = output.model.get().parseConstantDefinitions(constantDefinitionString);
output.model.get().preprocess(constantDefinitions);
output.model = output.model.get().preprocess(constantDefinitions);
}
if (!output.properties.empty()) {
output.properties = storm::api::substituteConstantsInProperties(output.properties, constantDefinitions);

Loading…
Cancel
Save