Skip to content

Commit

Permalink
fix: after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Al-Kindi-0 committed Sep 26, 2024
1 parent e1d0c92 commit 4be2a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prover/src/logup_gkr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ pub enum GkrProverError {
/// vector will be computed for, in place.
#[cfg(feature = "concurrent")]
fn prefix_sum_parallel<E: FieldElement>(vector: &mut [E], batch_size: usize) {
let num_partitions = (vector.len() + batch_size - 1) / batch_size;
let num_partitions = vector.len().div_ceil(batch_size);
let mut sum_per_partition = vec![E::ZERO; num_partitions];

chunks!(vector, batch_size)
Expand Down

0 comments on commit 4be2a1b

Please sign in to comment.