We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee9f508 commit 062830fCopy full SHA for 062830f
solver/solver.go
@@ -108,7 +108,7 @@ func (r *repeatedRoot) Error() string { return "repeated roots" }
108
func (r *repeatedRoot) RepeatedRoot() *big.Int { return (*big.Int)(r) }
109
110
// Roots solves for len(a)-1 roots of the polynomial with coefficients a (mod F).
111
-// Repeated roots are considered an error for the purposes of unique slot,
+// Repeated roots are considered an error for the purposes of unique slot
112
// assignment, and an error with method RepeatedRoot() *big.Int is returned.
113
func Roots(a []*big.Int, F *big.Int) ([]*big.Int, error) {
114
roots, exps, err := RootFactors(a, F)
0 commit comments