You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.
The function "NewPolZeroAt" in r1csqap.go, which is used by function "LagrangeInterpolation"
has the following code
fac := 1
for i := 1; i < totalPoints+1; i++ {
if i != pointPos {
fac = fac * (pointPos - i)
}
}
facBig := big.NewInt(int64(fac))
I am facing a problem that 'fac' can be larger than int64, which make the algorithm generate wrong polynomial. Has anyone else faced this problem as well?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The function "NewPolZeroAt" in r1csqap.go, which is used by function "LagrangeInterpolation"
has the following code
I am facing a problem that 'fac' can be larger than int64, which make the algorithm generate wrong polynomial. Has anyone else faced this problem as well?
The text was updated successfully, but these errors were encountered: