Skip to content

Commit d97535f

Browse files
authored
Update docs/src/autodiff/operator_overloading.md
1 parent fdca95c commit d97535f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/autodiff/operator_overloading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ an overload of an AD system's overloaded type.
77
For example, using the signature type `Tuple{typeof(+), Real, Real}` to make
88
`+(::DualNumber, ::DualNumber)` call the `frule` for `+`.
99
A signature type tuple always has the form:
10-
`Tuple{typeof(operation), typeof{pos_arg1}, typeof{pos_arg2...}}`, where `pos_arg1` is the
10+
`Tuple{typeof(operation), typeof{pos_arg1}, typeof{pos_arg2}, ...}`, where `pos_arg1` is the
1111
first positional argument.
1212
One can dispatch on the signature type to make rules with argument types your AD does not support not call `eval`;
1313
or more simply you can just use conditions for this.

0 commit comments

Comments
 (0)