Skip to content

Commit

Permalink
Spelling correction
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
albert-github committed Feb 19, 2025
1 parent 4f9bf70 commit cb1f3fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Polygon_repair/include/CGAL/Polygon_repair/Winding.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class Winding {
using Context = typename CDTplus::Context;

CDTplus cdt;
constexpr static int unintialized = std::numeric_limits<int>::lowest();
constexpr static int uninitialized = std::numeric_limits<int>::lowest();


struct Polygon_less {
Expand Down Expand Up @@ -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;
Expand All @@ -204,7 +204,7 @@ sets the polygon as input of the winding number computation.
{
std::list<std::pair<Edge,int>> 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);
Expand All @@ -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);
Expand Down

0 comments on commit cb1f3fb

Please sign in to comment.