[Python-modules-commits] r32261 - in packages/mpmath/trunk/debian (4 files)
morph at users.alioth.debian.org
morph at users.alioth.debian.org
Fri Apr 10 15:12:01 UTC 2015
Date: Friday, April 10, 2015 @ 15:12:00
Author: morph
Revision: 32261
* debian/patches/93b3e5ed85feeafcfeb36f3d90524c57871daba3.patch
- fix polyroots with error=True; thanks to Richard B. Kreckel for the
report; Closes: #781222
Added:
packages/mpmath/trunk/debian/patches/
packages/mpmath/trunk/debian/patches/93b3e5ed85feeafcfeb36f3d90524c57871daba3.patch
packages/mpmath/trunk/debian/patches/series
Modified:
packages/mpmath/trunk/debian/changelog
Modified: packages/mpmath/trunk/debian/changelog
===================================================================
--- packages/mpmath/trunk/debian/changelog 2015-04-10 15:06:00 UTC (rev 32260)
+++ packages/mpmath/trunk/debian/changelog 2015-04-10 15:12:00 UTC (rev 32261)
@@ -5,8 +5,11 @@
- bump Standards-Version to 3.9.6 (no changes needed)
* debian/watch
- use PyPI redirector
+ * debian/patches/93b3e5ed85feeafcfeb36f3d90524c57871daba3.patch
+ - fix polyroots with error=True; thanks to Richard B. Kreckel for the
+ report; Closes: #781222
- -- Sandro Tosi <morph at debian.org> Fri, 10 Apr 2015 16:05:46 +0100
+ -- Sandro Tosi <morph at debian.org> Fri, 10 Apr 2015 16:11:16 +0100
mpmath (0.19-1) unstable; urgency=medium
Added: packages/mpmath/trunk/debian/patches/93b3e5ed85feeafcfeb36f3d90524c57871daba3.patch
===================================================================
--- packages/mpmath/trunk/debian/patches/93b3e5ed85feeafcfeb36f3d90524c57871daba3.patch (rev 0)
+++ packages/mpmath/trunk/debian/patches/93b3e5ed85feeafcfeb36f3d90524c57871daba3.patch 2015-04-10 15:12:00 UTC (rev 32261)
@@ -0,0 +1,21 @@
+From 93b3e5ed85feeafcfeb36f3d90524c57871daba3 Mon Sep 17 00:00:00 2001
+From: Fredrik Johansson <fredrik.johansson at gmail.com>
+Date: Thu, 7 Aug 2014 21:25:21 +0200
+Subject: [PATCH] fix polyroots with error=True
+
+---
+ mpmath/calculus/polynomials.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/mpmath/calculus/polynomials.py b/mpmath/calculus/polynomials.py
+index 1b2ac03..39373ff 100644
+--- a/mpmath/calculus/polynomials.py
++++ b/mpmath/calculus/polynomials.py
+@@ -156,6 +156,7 @@ def polyroots(ctx, coeffs, maxsteps=50, cleanup=True, extraprec=10,
+ # Constant polynomial with no roots
+ return []
+
++ orig = ctx.prec
+ tol = +ctx.eps
+ with ctx.extraprec(extraprec):
+ deg = len(coeffs) - 1
Added: packages/mpmath/trunk/debian/patches/series
===================================================================
--- packages/mpmath/trunk/debian/patches/series (rev 0)
+++ packages/mpmath/trunk/debian/patches/series 2015-04-10 15:12:00 UTC (rev 32261)
@@ -0,0 +1 @@
+93b3e5ed85feeafcfeb36f3d90524c57871daba3.patch
More information about the Python-modules-commits
mailing list