]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a bug in work_stream when using graph_coloring.
authorBruno Turcksin <bruno.turcksin@gmail.com>
Wed, 25 Sep 2013 17:28:47 +0000 (17:28 +0000)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Wed, 25 Sep 2013 17:28:47 +0000 (17:28 +0000)
git-svn-id: https://svn.dealii.org/trunk@30922 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/work_stream.h

index 51b1655d4dd895ce7400fa12af8c6a63ac7ff59a..9ab55fec7fdddbf6588b09ca5a6f0d534de14541 100644 (file)
@@ -1154,7 +1154,8 @@ namespace WorkStream
                           std_cxx1x::_1),
          sample_scratch_data,
          sample_copy_data,
-         get_conflict_indices,
+         std_cxx1x::bind(get_conflict_indices,
+                         std_cxx1x::ref (main_object)),
          queue_length,
          chunk_size);
   }

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.