mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-06 07:43:10 +00:00
Remove collect
This commit is contained in:
parent
2ecca92bf6
commit
e376196475
@ -104,8 +104,7 @@ pub fn cross_table_lookup_data<F: RichField, C: GenericConfig<D, F = F>, const D
|
||||
.zip(looking_columns)
|
||||
.map(|(table, columns)| {
|
||||
partial_products(&trace_poly_values[*table as usize], columns, challenge)
|
||||
})
|
||||
.collect::<Vec<_>>();
|
||||
});
|
||||
let z_looked = partial_products(
|
||||
&trace_poly_values[*looked_table as usize],
|
||||
looked_columns,
|
||||
@ -114,7 +113,7 @@ pub fn cross_table_lookup_data<F: RichField, C: GenericConfig<D, F = F>, const D
|
||||
|
||||
debug_assert_eq!(
|
||||
zs_looking
|
||||
.iter()
|
||||
.clone()
|
||||
.map(|z| *z.values.last().unwrap())
|
||||
.product::<F>(),
|
||||
*z_looked.values.last().unwrap()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user