Browse Source

slightly patched Fox-Glynn

tempestpy_adaptions
dehnert 7 years ago
parent
commit
9dda579e58
  1. 3
      src/storm/utility/numerical.cpp

3
src/storm/utility/numerical.cpp

@ -229,6 +229,7 @@ namespace storm {
} else {
t = j;
result.right = j + result.left;
result.weights.resize(result.right - result.left + 1);
// It's time to compute W.
break;
@ -257,7 +258,7 @@ namespace storm {
}
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;
}

Loading…
Cancel
Save