diff --git a/crates/prover/src/constraint_framework/mod.rs b/crates/prover/src/constraint_framework/mod.rs index 40b145f20..9675e4dbc 100644 --- a/crates/prover/src/constraint_framework/mod.rs +++ b/crates/prover/src/constraint_framework/mod.rs @@ -119,19 +119,14 @@ pub trait EvalAtRow { &mut self, entries: &[RelationEntry<'_, Self::F, Self::EF, R>], ) { - let fracs: Vec> = entries - .iter() - .map( - |RelationEntry { - relation, - multiplicity, - values, - }| { - Fraction::new(multiplicity.clone(), relation.combine(values)) - }, - ) - .collect(); - self.write_logup_frac(fracs.into_iter().sum()); + let fracs = entries.iter().map( + |RelationEntry { + relation, + multiplicity, + values, + }| { Fraction::new(multiplicity.clone(), relation.combine(values)) }, + ); + self.write_logup_frac(fracs.sum()); } // TODO(alont): Remove these once LogupAtRow is no longer used.