From 05518ea796b4eb7328e8f4ed141d2b515ac6c048 Mon Sep 17 00:00:00 2001 From: Lukas Date: Wed, 20 Mar 2019 17:06:57 +0100 Subject: [PATCH] fix index 1/0 typo --- libsrc/meshing/topology.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/meshing/topology.cpp b/libsrc/meshing/topology.cpp index 63894f9a..b1bd3a62 100644 --- a/libsrc/meshing/topology.cpp +++ b/libsrc/meshing/topology.cpp @@ -530,7 +530,7 @@ namespace netgen for (int i = mesh->mlbetweennodes.Begin(); i < mesh->mlbetweennodes.End(); i++) { INDEX_2 parents = Sort (mesh->mlbetweennodes[i]); - if (parents[0] > PointIndex::BASE) vert2vertcoarse.AddSave (parents[0], parents[1]); + if (parents[0] >= PointIndex::BASE) vert2vertcoarse.AddSave (parents[0], parents[1]); }