From e8e52c2743084fa12cda2537afe1791dbd827385 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 30 Jan 2013 13:57:35 +0000 Subject: [PATCH] --- Geo/Geo.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Geo/Geo.cpp b/Geo/Geo.cpp index 9075defe56..64e16fcc12 100644 --- a/Geo/Geo.cpp +++ b/Geo/Geo.cpp @@ -2901,13 +2901,12 @@ static void MaxNumSurface(void *a, void *b) static void ReplaceDuplicatePoints() { - // FIXME: This routine is in fact logically wrong (the - // compareTwoPoints function used in the avl tree is not a - // appropriate comparison function). The fix is simple (use a multi - // dimensional tree, e.g., MVertexPositionSet), but fixing the - // routine would break backward compatibility with old .geo - // files. This will be fixed in the new abstract GModel CAD creation - // routines. + // FIXME: This routine is in fact logically wrong (the compareTwoPoints + // function used in the avl tree is not a appropriate comparison + // function). The fix is simple (use a multi dimensional tree, e.g., + // MVertexPositionSet), but fixing the routine would break backward + // compatibility with old .geo files. This will be fixed in the new abstract + // GModel CAD creation routines. Vertex *v, *v2, **pv, **pv2; Curve *c; Surface *s; -- GitLab