mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-10 17:53:06 +00:00
Change zip order
This commit is contained in:
parent
9a54540116
commit
d9b0778eef
@ -43,11 +43,11 @@ impl<F: Extendable<D>, const D: usize> CircuitBuilder<F, D> {
|
||||
// The answer is gotten by interpolating {(x*g^i, P(x*g^i))} and evaluating at beta.
|
||||
let points = g
|
||||
.powers()
|
||||
.zip(evals)
|
||||
.map(|(y, v)| {
|
||||
.map(|y| {
|
||||
let yc = self.constant(y);
|
||||
(self.mul(coset_start, yc), v)
|
||||
self.mul(coset_start, yc)
|
||||
})
|
||||
.zip(evals)
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
self.interpolate(&points, beta)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user