From 7d636fbd58bb20926893bcbb2dc8fe83db640635 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Fri, 13 Jan 2012 12:12:20 +0000 Subject: [PATCH] fix clusters with linked lists --- libsrc/meshing/clusters.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libsrc/meshing/clusters.cpp b/libsrc/meshing/clusters.cpp index 8e21df59..a8dc0df9 100644 --- a/libsrc/meshing/clusters.cpp +++ b/libsrc/meshing/clusters.cpp @@ -223,8 +223,9 @@ namespace netgen cluster_reps.Elem(kk) = cluster_reps.Get(jj); changed = 1; */ + int rep = cluster_reps.Get(jj); - int next = kk; + int next = cluster_reps.Get(kk); do { int cur = next;