mirror of https://github.com/zcash/halo2.git
ensure extended_k <= S
This commit is contained in:
parent
f9838c127e
commit
15fd313eef
|
@ -52,6 +52,9 @@ impl<F: WithSmallOrderMulGroup<3>> EvaluationDomain<F> {
|
|||
extended_k += 1;
|
||||
}
|
||||
|
||||
// ensure extended_k <= S
|
||||
assert!(extended_k <= F::S);
|
||||
|
||||
let mut extended_omega = F::ROOT_OF_UNITY;
|
||||
|
||||
// Get extended_omega, the 2^{extended_k}'th root of unity
|
||||
|
|
Loading…
Reference in New Issue