-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loadPLYFile() does not support NaN values #1433
Comments
Traced the problem here. The issue is that istream cannot properly parse the nan,inf and variants into the actual float variable. To handle it, the value needs to be extracted as a string followed by an explicit conversion attempt. |
Test code
File 1
File 2
File 3
Output error:
Happens with
file_2
andfile_3
The text was updated successfully, but these errors were encountered: