Skip to content

Commit

Permalink
stronger statement about aliasing
Browse files Browse the repository at this point in the history
  • Loading branch information
oxinabox authored Jan 25, 2024
1 parent 95e63d0 commit 73b7508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/rule_author/superpowers/mutation_support.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ There are a few key points to follow:
- There must be a mutable tangent input for every mutated primal input
- When the primal value is changed, the corresponding change must be made to its tangent partner
- When a value is returned, return its partnered tangent.
- If two primals alias, then their tangents must also alias.
- If (and only if) primal values alias, then their tangents must also alias.

### Example
For example, consider the primal function with:
Expand Down

0 comments on commit 73b7508

Please sign in to comment.