From 38feeaf07075a1634367f71c8ea2e464c0e110d1 Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Mon, 11 Nov 2013 20:55:54 +0000 Subject: [PATCH] Fix a bug in WorkStream for disconnected graph. git-svn-id: https://svn.dealii.org/trunk@31630 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/base/graph_coloring.h | 1 + 1 file changed, 1 insertion(+) 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; } } -- 2.39.5