Browse Source

Fixed return

tempestpy_adaptions
Matthias Volk 6 years ago
parent
commit
66a956e121
  1. 2
      src/storm-gspn/builder/JaniGSPNBuilder.cpp
  2. 2
      src/storm-gspn/builder/JaniGSPNBuilder.h

2
src/storm-gspn/builder/JaniGSPNBuilder.cpp

@ -303,7 +303,7 @@ namespace storm {
return standardProperties;
}
std::vector<storm::jani::Property> const& JaniGSPNBuilder::getDeadlockProperties(storm::jani::Model* model) {
std::vector<storm::jani::Property> JaniGSPNBuilder::getDeadlockProperties(storm::jani::Model* model) {
auto const& deadlockVar = addDeadlockTransientVariable(model, getUniqueVarName(*expressionManager, "deadl"));
auto deadlockFormula = std::make_shared<storm::logic::AtomicExpressionFormula>(deadlockVar.getExpressionVariable().getExpression());
return getStandardProperties(model, deadlockFormula, "Deadlock", "a deadlock", true);

2
src/storm-gspn/builder/JaniGSPNBuilder.h

@ -32,7 +32,7 @@ namespace storm {
/*!
* Get standard properties (reachability, time bounded reachability, expected time) for deadlocks.
*/
std::vector<storm::jani::Property> const& getDeadlockProperties(storm::jani::Model* model);
std::vector<storm::jani::Property> getDeadlockProperties(storm::jani::Model* model);
/*!
* Add transient variable representing given expression.

Loading…
Cancel
Save