Blob Blame History Raw
--- mpmath/calculus/polynomials.py.orig	2014-06-10 08:06:51.000000000 -0600
+++ mpmath/calculus/polynomials.py	2014-12-03 20:00:00.000000000 -0700
@@ -157,6 +157,7 @@ def polyroots(ctx, coeffs, maxsteps=50,
         return []
 
     tol = +ctx.eps
+    orig = ctx.prec
     with ctx.extraprec(extraprec):
         deg = len(coeffs) - 1
         # Must be monic