brax icon indicating copy to clipboard operation
brax copied to clipboard

quat_to_euler can produce NaNs

Open erikfrey opened this issue 2 years ago • 1 comments

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.

erikfrey avatar Jun 16 '22 22:06 erikfrey