You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Python) In certain transforms, IK will fail due to NANs cropping up. This is because of floating point inaccuracies being fed into np.arccos. (For example in MatrixLog6)
E.g. (-1.0000000002) which will return NaN
To fix this, for each np.arccos(x) in the MR code, replace with np.arccos(np.clip(x,-1,1))
The text was updated successfully, but these errors were encountered:
(Python) In certain transforms, IK will fail due to NANs cropping up. This is because of floating point inaccuracies being fed into np.arccos. (For example in MatrixLog6)
E.g. (-1.0000000002) which will return NaN
To fix this, for each np.arccos(x) in the MR code, replace with np.arccos(np.clip(x,-1,1))
The text was updated successfully, but these errors were encountered: