Commit Graph
1 Commits
Author SHA1 Message Date
Afloat 38f3df3d10 Keep skipped singular undistortion steps finite in backward
The Newton undistortion loop selects a zero step when its Jacobian determinant is too small, but computes a division by the original determinant in the unused branch of `torch.where`. Forward output is finite while coordinate and calibration gradients become NaN at a singular Jacobian.
2026-10-02 06:57:33 -07:00