Skip to content

Moving Least Squares produces NaN outputs #787

Open
@translunar

Description

@translunar

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions