Skip to content

Commit ecce8d1

Browse files
committed
Refactor dot product computation in prove_execution for improved readability
1 parent a53dc3a commit ecce8d1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

crates/lean_prover/src/prove_execution.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -500,10 +500,7 @@ pub fn prove_execution(
500500
col,
501501
dot_product::<EF, _, _>(
502502
grand_product_exec_eq_weights.iter().copied(),
503-
full_trace[col]
504-
.iter()
505-
.copied()
506-
.map(EF::from),
503+
full_trace[col].iter().copied().map(EF::from),
507504
),
508505
);
509506
}

0 commit comments

Comments
 (0)