From: Timo Heister Date: Mon, 3 Jul 2023 20:38:01 +0000 (-0400) Subject: fix quicktest X-Git-Tag: relicensing~715^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15610%2Fhead;p=dealii.git fix quicktest --- diff --git a/tests/quick_tests/taskflow.cc b/tests/quick_tests/taskflow.cc index 19a91f7b33..967e4e9b01 100644 --- a/tests/quick_tests/taskflow.cc +++ b/tests/quick_tests/taskflow.cc @@ -17,6 +17,7 @@ #include +#include #include #include @@ -47,9 +48,9 @@ test1() B.precede(C); auto p = - taskflow.parallel_for(1, 11, 1, [&](int idx) { counter.fetch_add(idx); }); + taskflow.for_each_index(1, 11, 1, [&](int idx) { counter.fetch_add(idx); }); - C.precede(p.first); + C.precede(p); executor.run(taskflow).wait();