brax
brax copied to clipboard
quat_to_euler can produce NaNs
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.