Commit 47adc251 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

fixed

parent 96508b8f
......@@ -26,7 +26,7 @@ protected:
void TestSampleCounterParallel() {
pout << "Before update: " << aggregate.ctr << endl;
while (aggregate.ctr.dMcomm != 0) aggregate.Update(0.0, 0.0, 0.0, 0.0);
while (aggregate.ctr.dMcomm != 0) aggregate.Update(1.0, 0.0, 0.0, 0.0);
pout << "After update: " << aggregate.ctr << endl;
aggregate.UpdateParallel();
pout << "After parallel update: " << aggregate.ctr << endl;
......@@ -39,7 +39,7 @@ protected:
void TestMeanParallel() {
pout << "Before update: " << aggregate.mean << endl;
while (aggregate.ctr.dMcomm != 0) aggregate.Update(0.0, 0.0, PPM->Proc(0), 0.0);
while (aggregate.ctr.dMcomm != 0) aggregate.Update(1.0, 0.0, PPM->Proc(0), 0.0);
pout << "After update: " << aggregate.mean << endl;
aggregate.UpdateParallel();
pout << "After parallel update: " << aggregate.mean << endl;
......
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