Browse Source

Merge branch 'simpleMDPApproach' of github.com:TimoPGros/storm into simpleMDPApproach

tempestpy_adaptions
Timo Philipp Gros 7 years ago
parent
commit
ccbcd4ef5e
  1. 3
      src/storm/utility/numerical.cpp

3
src/storm/utility/numerical.cpp

@ -229,6 +229,7 @@ namespace storm {
} else { } else {
t = j; t = j;
result.right = j + result.left; result.right = j + result.left;
result.weights.resize(result.right - result.left + 1);
// It's time to compute W. // It's time to compute W.
break; break;
@ -257,7 +258,7 @@ namespace storm {
} }
result.totalWeight += result.weights[j]; result.totalWeight += result.weights[j];
STORM_LOG_TRACE("Fox-Glynn: ltp = " << result.left << ", rtp = " << result.right << ", w = " << result.totalWeight << ".");
STORM_LOG_TRACE("Fox-Glynn: ltp = " << result.left << ", rtp = " << result.right << ", w = " << result.totalWeight << ", " << result.weights.size() << " weights.");
return result; return result;
} }

Loading…
Cancel
Save