Commit 02459c00 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

fixed factor

parent 03725fff
......@@ -57,7 +57,7 @@ void MultilevelMonteCarlo::Method(const double eps) {
updateSampleAmount(eps);
if (checkForNewLevel()) {
estimateNumericalError();
if (numErr > eps) {
if (numErr > eps / 2) {
appendLevel(eps);
} else {
estimateStatisticalError();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment