@@ -188,7 +188,7 @@ impl<SC: StarkGenericConfig> PartitionProver<SC> {
188
188
) in rap_mains
189
189
. iter ( )
190
190
. zip_eq ( main_traces_with_domains)
191
- . zip ( std :: iter :: repeat ( preprocessed_traces_with_domains. iter ( ) ) . flatten ( ) )
191
+ . zip ( preprocessed_traces_with_domains. iter ( ) )
192
192
. zip_eq ( & perm_traces_with_domains)
193
193
. zip_eq ( & cumulative_sums)
194
194
{
@@ -235,7 +235,7 @@ impl<SC: StarkGenericConfig> PartitionProver<SC> {
235
235
// Prepare the proven RAP trace views
236
236
let ( raps, trace_views) : ( Vec < _ > , Vec < _ > ) = rap_mains
237
237
. into_iter ( )
238
- . zip ( std :: iter :: repeat ( preps) . flatten ( ) )
238
+ . zip ( preps. into_iter ( ) )
239
239
. zip_eq ( cumulative_sums_and_indices)
240
240
. map ( |( ( ( rap, main) , preprocessed) , cumulative_sum_and_index) | {
241
241
let ( permutation, exposed_values) =
@@ -267,7 +267,7 @@ impl<SC: StarkGenericConfig> PartitionProver<SC> {
267
267
let quotient_committer = QuotientCommitter :: new ( pcs, & perm_challenges, alpha) ;
268
268
let quotient_degrees = raps
269
269
. iter ( )
270
- . zip ( std :: iter :: repeat ( preprocessed_traces_with_domains. iter ( ) ) . flatten ( ) )
270
+ . zip ( preprocessed_traces_with_domains. iter ( ) )
271
271
. map ( |( & rap, prep_trace_with_domain) | {
272
272
let prep_width = prep_trace_with_domain
273
273
. as_ref ( )
0 commit comments