File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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`
7878The body of this method doesn't matter, what matters is that it is a method-table.
7979A simple thing you can do with this is not support opting out.
8080To 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) .
8282This is easily done, though it does mean ignoring the user's stated desire to opt out of the rule.
8383
8484More complex you can use this to generate code that triggers your AD.
You can’t perform that action at this time.
0 commit comments