Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
0xVolosnikov committed Sep 30, 2024
1 parent bca7156 commit 484bc97
Showing 1 changed file with 16 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,14 @@ pub(crate) fn compute_ram_circuit_snapshots<CB: FnMut(WitnessGenerationArtifact)
let mut rhs_grand_product_chains =
Vec::with_capacity(DEFAULT_NUM_PERMUTATION_ARGUMENT_REPETITIONS);
{

let lhs_contributions: Vec<_> = all_memory_queries.par_iter().map(|x| x.encoding_witness()).collect();
let rhs_contributions: Vec<_> = all_memory_queries_sorted.par_iter().map(|x| x.encoding_witness()).collect();
let lhs_contributions: Vec<_> = all_memory_queries
.par_iter()
.map(|x| x.encoding_witness())
.collect();
let rhs_contributions: Vec<_> = all_memory_queries_sorted
.par_iter()
.map(|x| x.encoding_witness())
.collect();

let challenges = produce_fs_challenges::<
Field,
Expand Down Expand Up @@ -350,8 +355,14 @@ pub(crate) fn compute_ram_circuit_snapshots<CB: FnMut(WitnessGenerationArtifact)
},
},
// we will need witnesses to pop elements from the front of the queue
unsorted_queue_witness: unsorted_queries_in_chunk.into_par_iter().map(|x| x.reflect()).collect(),
sorted_queue_witness: sorted_queries_in_chunk.into_par_iter().map(|x| x.reflect()).collect(),
unsorted_queue_witness: unsorted_queries_in_chunk
.into_par_iter()
.map(|x| x.reflect())
.collect(),
sorted_queue_witness: sorted_queries_in_chunk
.into_par_iter()
.map(|x| x.reflect())
.collect(),
};

if sorted_states_len % per_circuit_capacity != 0 {
Expand Down

0 comments on commit 484bc97

Please sign in to comment.