Skip to content

Commit

Permalink
remove uncessary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
kunxian-xia committed Jan 8, 2024
1 parent d620f83 commit 4c15de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion halo2_proofs/src/plonk/mv_lookup/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ impl<C: CurveAffine> Prepared<C> {
// parallelized version of log_derivatives_diff.scan()
let active_size = params.n() as usize - blinding_factors;
let mut grand_sum = iter::once(C::Scalar::ZERO)
.chain(log_derivatives_diff.clone())
.chain(log_derivatives_diff)
.take(active_size)
.collect::<Vec<_>>();
// TODO: remove the implicit assumption that parallelize() split the grand_sum
Expand Down

0 comments on commit 4c15de0

Please sign in to comment.