Skip to content

Commit 9d13d3a

Browse files
oxinaboxsethaxen
andauthored
Update docs/src/opting_out_of_rules.md
Co-authored-by: Seth Axen <[email protected]>
1 parent 5509fe7 commit 9d13d3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/opting_out_of_rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ end
2727
That is a fairly reasonable `rrule` for the vast majority of cases.
2828

2929
You might have a custom array type for which you could write a faster rule.
30-
For example, the pullback for summing a [`SkewSymmetric` (anti-symmetric)](https://en.wikipedia.org/wiki/Skew-symmetric_matrix) matrix can be optimized all the way to `ZeroTangent()` as all off-diagonals cancel and the diagaonal is structurally zeros.
30+
For example, the pullback for summing a [`SkewSymmetric` (anti-symmetric)](https://en.wikipedia.org/wiki/Skew-symmetric_matrix) matrix can be optimized all the way to `ZeroTangent()` as all off-diagonals cancel and the diagonal is structurally zeros.
3131
To do that, you can indeed write another more specific [`rrule`](@ref).
3232
But another case is where the AD system itself would generate a more optimized case.
3333

0 commit comments

Comments
 (0)