Skip to content

Development branch, release 3.16#365

Open
AlexanderFabisch wants to merge 2 commits into
mainfrom
develop
Open

Development branch, release 3.16#365
AlexanderFabisch wants to merge 2 commits into
mainfrom
develop

Conversation

@AlexanderFabisch

@AlexanderFabisch AlexanderFabisch commented Jun 23, 2026

Copy link
Copy Markdown
Member

Bugfixes

  • Fix NaN in axis_angles_from_matrices for exact pi rotations
  • Fix slerp_weights numerical overflow for antipodal quaternions
  • Replace Jacobian series threshold with sqrt(6*eps)
  • Fix biased covariance estimator in estimate_gaussian_*_from_samples
  • Fix dead zone and derive tolerances in check_screw_axis

When the rotation angle is exactly pi about a coordinate axis (e.g.
R = diag(1,-1,-1)), the skew-symmetric part (R-R^T)/2 is identically
zero. np.sign(0) = 0, so the near-pi branch zeroed out the axis before
normalisation, causing a divide-by-zero and NaN output.
* Fix slerp_weights numerical overflow for antipodal quaternions
* Replace Jacobian series threshold with sqrt(6*eps)
* Fix biased covariance estimator in estimate_gaussian_*_from_samples
* Fix dead zone and derive tolerances in check_screw_axis
* Fix norm_axis_angles docstring: angle range is [0, pi] not [0, pi)
* Fix typo and docstring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant