SCIInstitute / ShapeWorks

ShapeWorks
http://sciinstitute.github.io/ShapeWorks/
Other
104 stars 32 forks source link

Geodesics Non-finite Matrix Entry Error #1660

Open jadie1 opened 2 years ago

jadie1 commented 2 years ago

When I optimize with geodesics with some meshes I get an error like: ERROR: Error: checkFinite() failure: Non-finite matrix entry [6111,6111] = nan This is happening before optimization iterations, I am guessing when the initial distance matrix is created.

Here are some examples: geodesic_bug.zip To recreate, run optimization on one of the "problem" meshes. Note it works without geodesics. I have also included some "good" meshes from the same dataset which were groomed in the same way and don't have an issue with geodesic optimization.

akenmorris commented 1 year ago

Possibly fixed by #2115