]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a bug in WorkStream for disconnected graph.
authorturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 11 Nov 2013 20:55:54 +0000 (20:55 +0000)
committerturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 11 Nov 2013 20:55:54 +0000 (20:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@31630 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/graph_coloring.h

index 963716dca3e5c74956a03ce54935620b131a0e10..e97ec2731abd1a12fc8463c54ae13f585de8c2b2 100644 (file)
@@ -141,6 +141,7 @@ namespace GraphColoring
               if (used_it.count(it)==0)
                 {
                   zones.push_back(std::vector<Iterator> (1,it));
+                  used_it.insert(it);
                   break;
                 }
         }

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.