Skip to content

Commit

Permalink
rm paren
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-camuto committed Aug 25, 2023
1 parent 44c2ec6 commit a830f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion halo2_gadgets/src/poseidon/primitives/mds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ pub(super) fn generate_mds<F: FromUniformBytes<64> + Ord, const T: usize>(
acc
} else {
// We can invert freely; by construction, the elements of xs are distinct.
let diff: F = (x_j - *x_m);
let diff: F = x_j - *x_m;
acc * (x - x_m) * diff.invert().unwrap()
}
})
Expand Down

0 comments on commit a830f4f

Please sign in to comment.