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.
In certain race conditions, MLS with the
SAMPLE_LOCAL_PLANEmode 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
computeMLSPointNormalfunction 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.