Commit afc91c1e authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

fix for test, should be removed asap

parent 3c6daaba
......@@ -76,6 +76,8 @@ public:
fineId.coarse = false;
coarseId.level = level;
coarseId.coarse = true;
ctr.parallel = parallel;
ctr.UpdateSampleCounter(dM);
aggregate.parallel = parallel;
aggregate.UpdateSampleCounter(dM);
}
......
......@@ -14,6 +14,7 @@ void MonteCarloMap::UpdateSampleCounter(double epsilon) {
sqrt(mc.vars.Y / mc.avgs.Cost)));
if (optimalM == 1) optimalM++; // Hack
mc.aggregate.UpdateSampleCounter(optimalM - mc.aggregate.M);
mc.ctr.UpdateSampleCounter(optimalM - mc.ctr.M);
}
}
......
Supports Markdown
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