File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ The Julia compiler will specialize based on inferring the return type of `rrule`
78
78
The body of this method doesn't matter, what matters is that it is a method-table.
79
79
A simple thing you can do with this is not support opting out.
80
80
To do this, filter all methods from the ` rrule ` /` frule ` method table that also occur in the ` no_frule ` /` no_rrule ` table.
81
- This will thus avoid ever hitting an ` rrule ` /` frule ` that returns ` nothing ` and thus makes your library error .
81
+ This will thus avoid ever hitting an ` rrule ` /` frule ` that returns ` nothing ` ( and thus prevents your library from erroring) .
82
82
This is easily done, though it does mean ignoring the user's stated desire to opt out of the rule.
83
83
84
84
More complex you can use this to generate code that triggers your AD.
You can’t perform that action at this time.
0 commit comments