Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Possible typo in the stripInvalidFaceWorker() function

Aperta
#203 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
cpp

Direzione di ricerca

Open src/surface/simple_polygon_mesh.cpp around lines 548-553 and inspect SimplePolygonMesh::stripInvalidFaceWorker(). Verify whether the duplicated removeWithBadInds use should instead reference removeLowDegree; done means the unused parameter is handled correctly without changing the function's intended behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi,

I noticed a possible typo in the function SimplePolygonMesh::stripInvalidFaceWorker() where the parameter removeLowDegree is unused (meanwhile removeWithBadInds is doubly used).

https://github.com/nmwsharp/geometry-central/blob/1f8a50c353e90322294c1c5aa0d411b7894f24ed/src/surface/simple_polygon_mesh.cpp#L548-L553

I think, on Line 549, that should be removeLowDegree instead of removeWithBadInds.

I don't believe this is causing any real issues. So, it' really a very minor type—just thought I’d point it out! Thanks for all your hard work in building this library!

Lingua principale
C++
Stelle
1.3k
Fork
183
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nmwsharp/geometry-central

Tutte le issue di nmwsharp/geometry-central

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.