summaryrefslogtreecommitdiff
path: root/dev-python/sympy/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /dev-python/sympy/files
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'dev-python/sympy/files')
-rw-r--r--dev-python/sympy/files/sympy-1.1.1-zeta.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/dev-python/sympy/files/sympy-1.1.1-zeta.patch b/dev-python/sympy/files/sympy-1.1.1-zeta.patch
deleted file mode 100644
index d9bab8096fac..000000000000
--- a/dev-python/sympy/files/sympy-1.1.1-zeta.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -U2 -r sympy-1.1.1.orig/sympy/functions/special/zeta_functions.py sympy-1.1.1/sympy/functions/special/zeta_functions.py
---- sympy-1.1.1.orig/sympy/functions/special/zeta_functions.py 2017-07-22 05:17:42.000000000 +0700
-+++ sympy-1.1.1/sympy/functions/special/zeta_functions.py 2017-07-28 06:35:28.477927184 +0700
-@@ -272,4 +272,5 @@
- @classmethod
- def eval(cls, s, z):
-+ from sympy import unpolarify
- if z == 1:
- return zeta(s)
-@@ -277,5 +278,11 @@
- return -dirichlet_eta(s)
- elif z == 0:
-- return 0
-+ return S.Zero
-+
-+ # branch handling
-+ if (1 - abs(z)).is_nonnegative:
-+ newz = unpolarify(z)
-+ if newz != z:
-+ return cls(s, newz)
-
- def fdiff(self, argindex=1):
-@@ -483,5 +490,5 @@
- For `\operatorname{Re}(s) > 0`, this function is defined as
-
-- .. math:: \eta(s) = \sum_{n=1}^\infty \frac{(-1)^n}{n^s}.
-+ .. math:: \eta(s) = \sum_{n=1}^\infty \frac{(-1)^{n-1}}{n^s}.
-
- It admits a unique analytic continuation to all of :math:`\mathbb{C}`.