Spelling correction (#8747)

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.
This commit is contained in:
Sebastien Loriot 2025-02-21 06:55:34 +01:00 committed by GitHub
commit 65202060af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -88,7 +88,7 @@ private:
using Context = typename CDTplus::Context; using Context = typename CDTplus::Context;
CDTplus cdt; CDTplus cdt;
constexpr static int unintialized = std::numeric_limits<int>::lowest(); constexpr static int uninitialized = std::numeric_limits<int>::lowest();
struct Polygon_less { struct Polygon_less {
@ -180,7 +180,7 @@ sets the polygon as input of the winding number computation.
queue.push_back(n); queue.push_back(n);
} }
}else{ }else{
if(n->info().wind == unintialized){ if(n->info().wind == uninitialized){
Vertex_handle u = e.first->vertex(cdt.cw(e.second)); Vertex_handle u = e.first->vertex(cdt.cw(e.second));
Vertex_handle v = e.first->vertex(cdt.ccw(e.second)); Vertex_handle v = e.first->vertex(cdt.ccw(e.second));
int delta = 0; int delta = 0;
@ -204,7 +204,7 @@ sets the polygon as input of the winding number computation.
{ {
std::list<std::pair<Edge,int>> border; std::list<std::pair<Edge,int>> border;
for(Face_handle f : cdt.all_face_handles()){ for(Face_handle f : cdt.all_face_handles()){
f->info().wind = unintialized; f->info().wind = uninitialized;
} }
int index = 0; int index = 0;
label(cdt.infinite_face(),index++, border); label(cdt.infinite_face(),index++, border);
@ -213,7 +213,7 @@ sets the polygon as input of the winding number computation.
int wind; int wind;
std::tie(e,wind) = border.front(); std::tie(e,wind) = border.front();
border.pop_front(); border.pop_front();
if(e.first->info().wind == unintialized){ if(e.first->info().wind == uninitialized){
label(e.first, wind,border); label(e.first, wind,border);
}else{ }else{
CGAL_assertion(e.first->info().wind == wind); CGAL_assertion(e.first->info().wind == wind);