Browse Source

added printing info when value type is converted after preprocessing

tempestpy_adaptions
dehnert 7 years ago
parent
commit
5f7cd17789
  1. 3
      src/storm-cli-utilities/model-handling.h

3
src/storm-cli-utilities/model-handling.h

@ -679,10 +679,11 @@ namespace storm {
verifyWithExplorationEngine<VerificationValueType>(input); verifyWithExplorationEngine<VerificationValueType>(input);
} else { } else {
std::shared_ptr<storm::models::ModelBase> model = buildPreprocessExportModelWithValueTypeAndDdlib<DdType, BuildValueType>(input, engine); std::shared_ptr<storm::models::ModelBase> model = buildPreprocessExportModelWithValueTypeAndDdlib<DdType, BuildValueType>(input, engine);
if (model) { if (model) {
if (!std::is_same<BuildValueType, VerificationValueType>::value) { if (!std::is_same<BuildValueType, VerificationValueType>::value) {
if (model->isSymbolicModel()) { if (model->isSymbolicModel()) {
STORM_LOG_INFO("Converting symbolic model value type to fit the verification value type.");
auto symbolicModel = model->as<storm::models::symbolic::Model<DdType, BuildValueType>>(); auto symbolicModel = model->as<storm::models::symbolic::Model<DdType, BuildValueType>>();
model = symbolicModel->template toValueType<VerificationValueType>(); model = symbolicModel->template toValueType<VerificationValueType>();
} }

Loading…
Cancel
Save