fix for V-SCT-VUL-013
Kevin Jue kjue235@gmail.com
Mon, 18 Dec 2023 17:19:15 -0800
1 files changed,
4 insertions(+),
0 deletions(-)
M
plonk/gates/coset_interpolation_gate.go
→
plonk/gates/coset_interpolation_gate.go
@@ -199,6 +199,10 @@ }
startIndex := 1 + (g.degree-1)*(i+1) endIndex := startIndex + g.degree - 1 + if endIndex > g.numPoints() { + endIndex = g.numPoints() + } + computedEval, computedProd = glApi.PartialInterpolateExtAlgebra( domain[startIndex:endIndex], values[startIndex:endIndex],