Commit 7069619
Fix zero tangent guard in polar pullback
Guard `C .+= ΔP` with `!iszerotangent(ΔP)` in both
`left_polar_pullback!` and `right_polar_pullback!` to handle
the case where ΔP is `nothing`.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a349aef commit 7069619
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments