Use extended omega for coset in prover.

This commit is contained in:
Sean Bowe 2020-09-04 04:49:59 -06:00
parent 0651359cb8
commit 06a4cfe13b
No known key found for this signature in database
GPG Key ID: 95684257D8F8B031
2 changed files with 5 additions and 1 deletions

View File

@ -251,6 +251,10 @@ impl<G: Group> EvaluationDomain<G> {
self.omega
}
pub fn get_extended_omega(&self) -> G::Scalar {
self.extended_omega
}
pub fn get_omega_inv(&self) -> G::Scalar {
self.omega_inv
}

View File

@ -330,7 +330,7 @@ impl<C: CurveAffine> Proof<C> {
let mut right = permutation_product_cosets_inv[permutation_index].clone();
let mut current_delta = x_0 * &C::Scalar::ZETA;
let step = domain.get_omega();
let step = domain.get_extended_omega();
for advice in queries
.iter()
.map(|&query_index| &advice_cosets[query_index])