google / google/brax

quat_to_euler can produce NaNs

Open
#204 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Jupyter Notebook
Stars
3.2k
Forks
349
PR merge metrics
No merged PRs in 30d

Description

`jp.arcsin` can produce a NaN in `quat_to_euler` under certain conditions, which suggests that `jp.norm(q)` > 1 + epsilon. This is probably a numerical issue tied to XLA - the bug only shows up when code is jitted.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.