sagemath/sagemath-latte.patch
Jerry James 05337076b6 Update to sagemath 8.7.
- Drop upstreamed -giac patch.
- Add -sagetex patch to fix a python indentation error.
- Add -rubiks patch to fix compilation of the rubiks library.
- Add -random patch to fix a non-random random bit generator.
- Drop pip3 workaround; the binary is now named just pip again.
2019-04-28 15:12:00 -06:00

21 lines
742 B
Diff

diff -up src/sage/interfaces/latte.py.orig src/sage/interfaces/latte.py
--- src/sage/interfaces/latte.py.orig 2019-04-08 12:05:07.092855841 -0600
+++ src/sage/interfaces/latte.py 2019-04-08 13:37:31.377803169 -0600
@@ -113,7 +113,7 @@ def count(arg, ehrhart_polynomial=False,
# Check that LattE is present
Latte().require()
- args = ['count']
+ args = ['latte-count']
if ehrhart_polynomial and multivariate_generating_function:
raise ValueError
if ehrhart_polynomial:
@@ -308,7 +308,7 @@ def integrate(arg, polynomial=None, algo
from sage.rings.rational import Rational
- args = ['integrate']
+ args = ['latte-integrate']
got_polynomial = True if polynomial is not None else False