diff --git a/crates/prover/src/core/pcs/prover.rs b/crates/prover/src/core/pcs/prover.rs index 58d347ee6..6ea42742a 100644 --- a/crates/prover/src/core/pcs/prover.rs +++ b/crates/prover/src/core/pcs/prover.rs @@ -205,13 +205,13 @@ pub struct CommitmentTreeProver, MC: MerkleChannel> { impl, MC: MerkleChannel> CommitmentTreeProver { pub fn new( - mut polynomials: ColumnVec>, + polynomials: ColumnVec>, log_blowup_factor: u32, channel: &mut MC::C, twiddles: &TwiddleTree, ) -> Self { let span = span!(Level::INFO, "Extension").entered(); - let evaluations = B::evaluate_polynomials(&mut polynomials, log_blowup_factor, twiddles); + let evaluations = B::evaluate_polynomials(&polynomials, log_blowup_factor, twiddles); span.exit(); let _span = span!(Level::INFO, "Merkle").entered(); diff --git a/crates/prover/src/core/poly/circle/ops.rs b/crates/prover/src/core/poly/circle/ops.rs index a08fa6739..9aa6b2686 100644 --- a/crates/prover/src/core/poly/circle/ops.rs +++ b/crates/prover/src/core/poly/circle/ops.rs @@ -57,7 +57,7 @@ pub trait PolyOps: FieldOps + Sized { ) -> CircleEvaluation; fn evaluate_polynomials( - polynomials: &mut ColumnVec>, + polynomials: &ColumnVec>, log_blowup_factor: u32, twiddles: &TwiddleTree, ) -> Vec> {