fix clusters with linked lists

This commit is contained in:
Joachim Schoeberl 2012-01-13 12:12:20 +00:00
parent a08283bbbc
commit 7d636fbd58

View File

@ -223,8 +223,9 @@ namespace netgen
cluster_reps.Elem(kk) = cluster_reps.Get(jj); cluster_reps.Elem(kk) = cluster_reps.Get(jj);
changed = 1; changed = 1;
*/ */
int rep = cluster_reps.Get(jj); int rep = cluster_reps.Get(jj);
int next = kk; int next = cluster_reps.Get(kk);
do do
{ {
int cur = next; int cur = next;