diff --git a/build/browser.esm.js b/build/browser.esm.js index fb9caae..4c0cfda 100644 --- a/build/browser.esm.js +++ b/build/browser.esm.js @@ -488,7 +488,7 @@ class PolField { return v; } - eval(p,x) { + evaluate(p,x) { const F = this.F; if (p.length == 0) return F.zero; const m = this._next2Power(p.length); @@ -519,7 +519,7 @@ class PolField { let mpol = this.ruffini(roots, points[i][0]); const factor = this.F.mul( - this.F.inv(this.eval(mpol, points[i][0])), + this.F.inv(this.evaluate(mpol, points[i][0])), points[i][1]); mpol = this.mulScalar(mpol, factor); sum = this.add(sum, mpol);