mirror of
https://github.com/logos-storage/gnark-plonky2-verifier.git
synced 2026-01-04 06:03:12 +00:00
fix for V-SCT-VUL-013
This commit is contained in:
parent
5766879636
commit
5dd6da255e
@ -199,6 +199,10 @@ func (g *CosetInterpolationGate) EvalUnfiltered(
|
|||||||
|
|
||||||
startIndex := 1 + (g.degree-1)*(i+1)
|
startIndex := 1 + (g.degree-1)*(i+1)
|
||||||
endIndex := startIndex + g.degree - 1
|
endIndex := startIndex + g.degree - 1
|
||||||
|
if endIndex > g.numPoints() {
|
||||||
|
endIndex = g.numPoints()
|
||||||
|
}
|
||||||
|
|
||||||
computedEval, computedProd = glApi.PartialInterpolateExtAlgebra(
|
computedEval, computedProd = glApi.PartialInterpolateExtAlgebra(
|
||||||
domain[startIndex:endIndex],
|
domain[startIndex:endIndex],
|
||||||
values[startIndex:endIndex],
|
values[startIndex:endIndex],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user