Skip to content

Commit

Permalink
remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
katat committed May 1, 2024
1 parent facfc88 commit 4fad17a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/constraints/field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ fn equal_cells<B: Backend>(
// 3. res * diff = 0
let res_mul_diff = compiler.backend.mul(&res, &diff, span);

// ensure that res * diff = 0
compiler.backend.assert_eq_const(&res_mul_diff, zero, span);

// 4. diff_inv * diff = one_minus_res
Expand All @@ -225,7 +224,6 @@ fn equal_cells<B: Backend>(

let diff_inv_mul_diff = compiler.backend.mul(&diff_inv, &diff, span);

// ensure that diff_inv * diff = one_minus_res
compiler
.backend
.assert_eq_var(&diff_inv_mul_diff, &one_minus_res, span);
Expand Down

0 comments on commit 4fad17a

Please sign in to comment.