|
|
@ -4,7 +4,6 @@ |
|
|
|
|
|
|
|
#include "storm-counterexamples/api/counterexamples.h" |
|
|
|
#include "storm-parsers/api/storm-parsers.h" |
|
|
|
#include "storm-conv/api/storm-conv.h" |
|
|
|
|
|
|
|
#include "storm/utility/resources.h" |
|
|
|
#include "storm/utility/file.h" |
|
|
@ -156,13 +155,11 @@ namespace storm { |
|
|
|
} |
|
|
|
|
|
|
|
if (output.model && output.model.get().isJaniModel()) { |
|
|
|
storm::converter::JaniConversionOptions options; |
|
|
|
options.allowFunctions = false; |
|
|
|
options.allowArrays = coreSettings.getEngine() == storm::settings::modules::CoreSettings::Engine::Sparse && !buildSettings.isJitSet(); |
|
|
|
options.standardCompliant = false; |
|
|
|
options.flatten = false; |
|
|
|
output.preprocessedProperties = output.properties; |
|
|
|
storm::api::transformJani(output.model.get().asJaniModel(), output.preprocessedProperties.get(), options); |
|
|
|
// Check if arrays need to be eliminated |
|
|
|
if (coreSettings.getEngine() != storm::settings::modules::CoreSettings::Engine::Sparse || buildSettings.isJitSet()) { |
|
|
|
output.preprocessedProperties = output.properties; |
|
|
|
output.model.get().asJaniModel().eliminateArrays(output.preprocessedProperties.get()); |
|
|
|
} |
|
|
|
} |
|
|
|
return output; |
|
|
|
} |
|
|
|