Commit 413c9628 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

small refactoring

parent 12b802ee
......@@ -6,11 +6,7 @@ void MultilevelMonteCarlo::initializeMonteCarloMap() {
for (unsigned long i = 0; i < initLevels.size(); i++) {
bool onlyFine = (i == 0) || (mcOnly);
int M = initSampleAmount[i];
auto mc = LevelMonteCarloPair(initLevels[i], MonteCarlo(initLevels[i],
M,
onlyFine,
true));
mcMap.insert(mc);
mcMap.insert({initLevels[i], MonteCarlo(initLevels[i], M, onlyFine, true)});
}
}
......
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