This commit is contained in:
wborgeaud 2021-10-11 18:45:55 +02:00
parent 288a8e1155
commit 62f3b558ad

View File

@ -159,8 +159,8 @@ impl<F: RichField + Extendable<D>, const D: usize> CompressedProofWithPublicInpu
let precomputed_reduced_evals =
PrecomputedReducedEvals::from_os_and_alpha(&self.proof.openings, fri_alpha);
let log_n = common_data.degree_bits + common_data.config.rate_bits;
// Simulate the proof verification and add collect the inferred elements.
// The content of the loop is basically the same as the ` fri_verifier_query_round` function.
// Simulate the proof verification and collect the inferred elements.
// The content of the loop is basically the same as the `fri_verifier_query_round` function.
for &(mut x_index) in &fri_query_indices {
let mut subgroup_x = F::MULTIPLICATIVE_GROUP_GENERATOR
* F::primitive_root_of_unity(log_n).exp_u64(reverse_bits(x_index, log_n) as u64);