This commit is contained in:
Sladuca 2022-08-19 17:54:48 -04:00
parent 3eadc27be5
commit ca35502660
2 changed files with 10 additions and 10 deletions

View File

@ -451,11 +451,11 @@ where
let num_challenges = alphas.len(); let num_challenges = alphas.len();
(0..P::WIDTH) (0..P::WIDTH).into_iter().map(move |i| {
.into_iter() (0..num_challenges)
.map(move |i| { .map(|j| constraints_evals[j].as_slice()[i])
(0..num_challenges).map(|j| constraints_evals[j].as_slice()[i]).collect() .collect()
}) })
}) })
.collect::<Vec<_>>(); .collect::<Vec<_>>();

View File

@ -303,11 +303,11 @@ where
let num_challenges = alphas.len(); let num_challenges = alphas.len();
(0..P::WIDTH) (0..P::WIDTH).into_iter().map(move |i| {
.into_iter() (0..num_challenges)
.map(move |i| { .map(|j| constraints_evals[j].as_slice()[i])
(0..num_challenges).map(|j| constraints_evals[j].as_slice()[i]).collect() .collect()
}) })
}) })
.collect::<Vec<_>>(); .collect::<Vec<_>>();