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

bug fix

parent 11430427
......@@ -67,7 +67,7 @@ void MainProgram::checkValues() {
if (initSampleAmount.empty() && experimentName == "MLMCExperiment") Exit(
"\nPlease set initSampleAmount\n")
if (experimentName == "ConvergenceTest") {
if (uniformSampleAmount != -1) Exit("\nPlease set uniformSampleAmount\n")
if (uniformSampleAmount == -1) Exit("\nPlease set uniformSampleAmount\n")
initSampleAmount = {};
for (auto &level: initLevels)
initSampleAmount.push_back(uniformSampleAmount);
......
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