Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions halo2_proofs/src/poly/domain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down