mirror of https://github.com/zcash/halo2.git
fix: explicitly define mds diff type (#196)
* fix: explicitly define mds diff type * rm paren
This commit is contained in:
parent
0f000478f4
commit
fe71cd4647
|
@ -82,7 +82,8 @@ 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.
|
||||
acc * (x - x_m) * (x_j - x_m).invert().unwrap()
|
||||
let diff: F = x_j - *x_m;
|
||||
acc * (x - x_m) * diff.invert().unwrap()
|
||||
}
|
||||
})
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue