-
-
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
Moving Least Squares produces NaN outputs #787
Comments
Okay, I believe the problem is that the points in question all lie on a line. This happens when the MLS search radius is too small. In the case of the I think there should still be some kind of check for NaN points in Instead, I will likely propose a change to the |
To whoever fixes this, please integrate this test #788 in your fix and make sure it passes. |
Marking this as stale due to 30 days of inactivity. It will be closed in 7 days if no further activity occurs. |
Marking this as stale due to 30 days of inactivity. It will be closed in 7 days if no further activity occurs. |
Needs #1407 or similar PR |
In certain race conditions, MLS with the
SAMPLE_LOCAL_PLANE
mode is producing output that consists either entirely or partially of NaNs in the xyz coordinates. I don't believe this is supposed to happen. In this case, the input for MLS includes no NaNs.It's difficult to write a reproducible test case for this bug, but I've committed code which shows that the
computeMLSPointNormal
function is the culprit here:translunar@a477b7a
(Note: this does indeed abort for me when the race condition occurs.)
I'm going to attempt to find the problem, but wanted to mention I was working on it first.
The text was updated successfully, but these errors were encountered: