From: turcksin Date: Mon, 11 Nov 2013 20:55:54 +0000 (+0000) Subject: Fix a bug in WorkStream for disconnected graph. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cae0644909761e33c24bea9df0cca0d53b81725;p=dealii-svn.git Fix a bug in WorkStream for disconnected graph. git-svn-id: https://svn.dealii.org/trunk@31630 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/base/graph_coloring.h b/deal.II/include/deal.II/base/graph_coloring.h index 963716dca3..e97ec2731a 100644 --- a/deal.II/include/deal.II/base/graph_coloring.h +++ b/deal.II/include/deal.II/base/graph_coloring.h @@ -141,6 +141,7 @@ namespace GraphColoring if (used_it.count(it)==0) { zones.push_back(std::vector (1,it)); + used_it.insert(it); break; } }