]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove redundant switch in MatrixFree::TaskInfo 7734/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 19 Feb 2019 18:21:50 +0000 (19:21 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 19 Feb 2019 18:21:50 +0000 (19:21 +0100)
source/matrix_free/task_info.cc

index 1fd323d2cfa62aefc707e5c0b34a0b184955fe23..d60db786c86b0e91d1d32a712852a905638803b8 100644 (file)
@@ -363,10 +363,7 @@ namespace internal
                       worker[j]->set_ref_count(2);
                       blocked_worker[j - 1]->dummy =
                         new (worker[j]->allocate_child()) tbb::empty_task;
-                      if (j > 1)
-                        tbb::task::spawn(*blocked_worker[j - 1]);
-                      else
-                        tbb::task::spawn(*blocked_worker[j - 1]);
+                      tbb::task::spawn(*blocked_worker[j - 1]);
                     }
                   else
                     {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.