Browse Source

Merge branch 'future' of https://sselab.de/lab9/private/git/storm into future

Former-commit-id: 689bf3f820
tempestpy_adaptions
sjunges 9 years ago
parent
commit
e43fb0bbfb
  1. 4
      src/modelchecker/csl/helper/SparseCtmcCslHelper.cpp

4
src/modelchecker/csl/helper/SparseCtmcCslHelper.cpp

@ -262,10 +262,6 @@ namespace storm {
if (startingIteration == 0) {
result = values;
storm::utility::vector::scaleVectorInPlace(result, std::get<3>(foxGlynnResult)[0]);
std::function<ValueType(ValueType const&, ValueType const&)> addAndScale = [&foxGlynnResult] (ValueType const& a, ValueType const& b) { return a + std::get<3>(foxGlynnResult)[0] * b; };
if (addVector != nullptr) {
storm::utility::vector::applyPointwise(result, *addVector, result, addAndScale);
}
++startingIteration;
} else {
if (computeCumulativeReward) {

Loading…
Cancel
Save