Browse Source

fixed wrong state action rewards in JaniNextStateGenerator.

tempestpy_adaptions
TimQu 6 years ago
parent
commit
a21c6f7244
  1. 2
      src/storm/generator/JaniNextStateGenerator.cpp

2
src/storm/generator/JaniNextStateGenerator.cpp

@ -465,11 +465,11 @@ namespace storm {
nextDistribution.add(newTargetState, probability);
}
}
}
// Create the state-action reward for the newly created choice.
auto valueIt = stateActionRewards.begin();
performTransientAssignments(edge.getAssignments().getTransientAssignments(), [&valueIt] (ValueType const& value) { *valueIt += value; ++valueIt; } );
}
nextDistribution.compress();

Loading…
Cancel
Save