From 1ae7bd3a9afdf59c89cafe14595949b2f257957c Mon Sep 17 00:00:00 2001 From: Boris Brangeon Date: Thu, 26 Aug 2021 06:12:09 +0200 Subject: [PATCH] add (in() IfcGeomShapes --- src/ifcgeom/IfcGeomShapes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/IfcGeomShapes.cpp b/src/ifcgeom/IfcGeomShapes.cpp index 18711fca83..4f1e8b0519 100644 --- a/src/ifcgeom/IfcGeomShapes.cpp +++ b/src/ifcgeom/IfcGeomShapes.cpp @@ -1368,7 +1368,7 @@ namespace { // @todo this probably still does not work on a closed wire consisting of one (circular) edge. - while (sorted_edges.size() < num_edges && + while ((int) sorted_edges.size() < num_edges && (!v0.IsSame(v1) || ignore_first_equality_because_closed)) { ignore_first_equality_because_closed = false;