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);
} else {
std::shared_ptr<storm::models::ModelBase> model = buildPreprocessExportModelWithValueTypeAndDdlib<DdType, BuildValueType>(input, engine);
if (model) {
if (!std::is_same<BuildValueType, VerificationValueType>::value) {
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>>();
model = symbolicModel->template toValueType<VerificationValueType>();
}

Loading…
Cancel
Save