From cb1f3fb37a6301c741346182adffcf61ddaba20a Mon Sep 17 00:00:00 2001 From: albert-github Date: Wed, 19 Feb 2025 11:38:14 +0100 Subject: [PATCH] Spelling correction Spelling correction As this is a spelling correction is in code (and outside my normal realm of PRs) I created a separate PR for it. I cannot test it, b I'm quite confident that it won't lead to problems. I think the old name contained a typo. --- Polygon_repair/include/CGAL/Polygon_repair/Winding.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Polygon_repair/include/CGAL/Polygon_repair/Winding.h b/Polygon_repair/include/CGAL/Polygon_repair/Winding.h index 6986df67b27..c40865c67e7 100644 --- a/Polygon_repair/include/CGAL/Polygon_repair/Winding.h +++ b/Polygon_repair/include/CGAL/Polygon_repair/Winding.h @@ -88,7 +88,7 @@ private: using Context = typename CDTplus::Context; CDTplus cdt; - constexpr static int unintialized = std::numeric_limits::lowest(); + constexpr static int uninitialized = std::numeric_limits::lowest(); struct Polygon_less { @@ -180,7 +180,7 @@ sets the polygon as input of the winding number computation. queue.push_back(n); } }else{ - if(n->info().wind == unintialized){ + if(n->info().wind == uninitialized){ Vertex_handle u = e.first->vertex(cdt.cw(e.second)); Vertex_handle v = e.first->vertex(cdt.ccw(e.second)); int delta = 0; @@ -204,7 +204,7 @@ sets the polygon as input of the winding number computation. { std::list> border; for(Face_handle f : cdt.all_face_handles()){ - f->info().wind = unintialized; + f->info().wind = uninitialized; } int index = 0; label(cdt.infinite_face(),index++, border); @@ -213,7 +213,7 @@ sets the polygon as input of the winding number computation. int wind; std::tie(e,wind) = border.front(); border.pop_front(); - if(e.first->info().wind == unintialized){ + if(e.first->info().wind == uninitialized){ label(e.first, wind,border); }else{ CGAL_assertion(e.first->info().wind == wind);