diff --git a/libsrc/meshing/adfront3.cpp b/libsrc/meshing/adfront3.cpp index 1499b2a1..77a1665e 100644 --- a/libsrc/meshing/adfront3.cpp +++ b/libsrc/meshing/adfront3.cpp @@ -701,7 +701,7 @@ void AdFront3 :: GetGroup (int fi, for (PointIndex pi = points.Begin(); pi < points.End(); pi++) - if (points.Get(i).Valid()) + if (points[pi].Valid()) { grouppoints.Append (points[pi].P()); pindex.Append (pi);