Skip to content

BUG: readMESH stuck in endless loop#2142

Merged
alecjacobson merged 1 commit intolibigl:mainfrom
dyollb:fix_readmesh
Feb 4, 2023
Merged

BUG: readMESH stuck in endless loop#2142
alecjacobson merged 1 commit intolibigl:mainfrom
dyollb:fix_readmesh

Conversation

@dyollb
Copy link
Copy Markdown
Contributor

@dyollb dyollb commented Jan 6, 2023

Fixes #2141

The readMESH function is caught in an endless loop (while ignoring comments/empty lines). It fails to get a new line, and continues to check the previous line.
The mesh was ceeated with tetgen (libigl wrapper) and saved using writeMESH.

Checklist

  • All changes meet libigl style-guidelines.
  • Adds new .cpp file.
  • Adds corresponding unit test.
  • This is a minor change.

@alecjacobson alecjacobson merged commit f1981ff into libigl:main Feb 4, 2023
@dyollb dyollb deleted the fix_readmesh branch January 5, 2024 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants