Skip to content

Commit

Permalink
Merge pull request #1665 from nickfreeman-de/docs/field-inv-example-s…
Browse files Browse the repository at this point in the history
…omeField

docs: In the example for Field.inv() the variable `someField` has to be used instead of the non-existent variable `example`.
  • Loading branch information
Trivo25 authored Jun 11, 2024
2 parents c573569 + 18944e4 commit 1ca4a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/provable/field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ class Field {
* ```ts
* const someField = Field(42);
* const inverse = someField.inv();
* inverse.assertEquals(Field(1).div(example)); // This statement is always true regardless of the value of `someField`
* inverse.assertEquals(Field(1).div(someField)); // This statement is always true regardless of the value of `someField`
* ```
*
* **Warning**: This is a modular inverse. See {@link div} method for more details.
Expand Down

0 comments on commit 1ca4a56

Please sign in to comment.