Sebastian Junges 6 years ago
parent
commit
4adcc5c8a5
  1. 4
      src/storm-parsers/parser/JaniParser.cpp

4
src/storm-parsers/parser/JaniParser.cpp

@ -842,9 +842,9 @@ namespace storm {
} }
} else { } else {
if (type.bounds) { if (type.bounds) {
return std::make_shared<storm::jani::UnboundedIntegerVariable>(name, expressionManager->declareIntegerVariable(exprManagerName), initVal.get(), transientVar);
} else {
return storm::jani::makeBoundedIntegerVariable(name, expressionManager->declareIntegerVariable(exprManagerName), boost::none, false, type.bounds->first, type.bounds->second); return storm::jani::makeBoundedIntegerVariable(name, expressionManager->declareIntegerVariable(exprManagerName), boost::none, false, type.bounds->first, type.bounds->second);
} else {
return std::make_shared<storm::jani::UnboundedIntegerVariable>(name, expressionManager->declareIntegerVariable(exprManagerName));
} }
} }
break; break;

Loading…
Cancel
Save