File tree Expand file tree Collapse file tree 2 files changed +8
-11
lines changed
Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -726,9 +726,9 @@ pub fn fold_line(
726726
727727 let folded_values = eval
728728 . iter ( )
729- . array_chunks ( )
729+ . tuples ( )
730730 . enumerate ( )
731- . map ( |( i, [ & f_x, & f_neg_x] ) | {
731+ . map ( |( i, ( & f_x, & f_neg_x) ) | {
732732 // TODO(andrew): Inefficient. Update when domain twiddles get stored in a buffer.
733733 let x = domain. at ( bit_reverse_index ( i << FOLD_STEP , domain. log_size ( ) ) ) ;
734734
@@ -755,9 +755,9 @@ pub fn fold_circle_into_line(
755755 let alpha_sq = alpha * alpha;
756756
757757 src. iter ( )
758- . array_chunks ( )
758+ . tuples ( )
759759 . enumerate ( )
760- . for_each ( |( i, [ & f_p, & f_neg_p] ) | {
760+ . for_each ( |( i, ( & f_p, & f_neg_p) ) | {
761761 // TODO(andrew): Inefficient. Update when domain twiddles get stored in a buffer.
762762 let p = src_domain. at ( bit_reverse_index (
763763 i << CIRCLE_TO_LINE_FOLD_STEP ,
Original file line number Diff line number Diff line change 44 feature( stdarch_x86_avx512)
55) ]
66#![ cfg_attr( not( feature = "std" ) , no_std) ]
7- #![ feature(
8- array_chunks,
9- array_try_from_fn,
10- int_roundings,
11- iter_array_chunks,
12- portable_simd,
13- slice_ptr_get
7+ #![ feature( array_try_from_fn) ]
8+ #![ cfg_attr(
9+ feature = "prover" ,
10+ feature( array_chunks, iter_array_chunks, portable_simd, slice_ptr_get)
1411) ]
1512pub mod core;
1613
You can’t perform that action at this time.
0 commit comments