Skip to content

Commit b6cb3c4

Browse files
committed
fix docs
1 parent 0d0ff94 commit b6cb3c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

curta/src/chip/field/den.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ pub struct FpDenInstruction<P: FieldParameters> {
3232
}
3333

3434
impl<L: AirParameters> AirBuilder<L> {
35-
/// Computes the element `a / (1 - b)` when `sign == true` and `a / (1 + b)` when `sign == 1`.
35+
/// Computes the element `a / (1 - b)` when `sign == 0` and `a / (1 + b)` when `sign == 1`.
3636
///
37-
/// The constraints in `fp_den` only check that `result * (1 + sign * b) = a mod p`, they do NOT
37+
/// The constraints in `fp_den` only check that `result * denominator = a mod p`, they do NOT
3838
/// check that the denominator is non-zero[^1].
3939
///
4040
/// [^1]: The reason is that the main use of this instruction is for Edwards addition in which we

0 commit comments

Comments
 (0)