Browse Source

catch uninit access on wrong formula type

tempestpy_adaptions
Tom Janson 8 years ago
parent
commit
1d5786dd58
  1. 1
      src/storm/logic/OperatorFormula.cpp

1
src/storm/logic/OperatorFormula.cpp

@ -15,6 +15,7 @@ namespace storm {
}
ComparisonType OperatorFormula::getComparisonType() const {
STORM_LOG_ASSERT(operatorInformation.bound.is_initialized(), "Cannot get Formula comparison type (has no bound?)");
return operatorInformation.bound.get().comparisonType;
}

Loading…
Cancel
Save