mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-21 11:19:02 -04:00
Also: - Bundle ipython again; Fedora version is too far ahead. Also have to bundle prompt_toolkit since Fedora version is too far ahead of bundled ipython. - Drop LANGUAGES variable setting, now ignored by the sagemath build system. - Drop unused SAGE_CBLAS variable from /usr/bin/sage. - Do not force the C locale when launching sagemath. - Allow the user to override SAGE_DEBUG in /usr/bin/sage. - Add -ecm, -giac, and -latte patches to fix interactions with external tools. - Add -sigfpe patch from upstream.
22 lines
933 B
Diff
22 lines
933 B
Diff
diff -up src/sage/sandpiles/sandpile.py.orig src/sage/sandpiles/sandpile.py
|
|
--- src/sage/sandpiles/sandpile.py.orig 2018-12-22 16:37:10.000000000 -0700
|
|
+++ src/sage/sandpiles/sandpile.py 2019-01-16 09:43:32.402089611 -0700
|
|
@@ -344,9 +344,6 @@ from sage.arith.all import falling_facto
|
|
from sage.rings.all import Integer, PolynomialRing, QQ, ZZ
|
|
from sage.symbolic.all import I, pi, SR
|
|
|
|
-# TODO: remove the following line once 4ti2 functions are removed
|
|
-path_to_zsolve = os.path.join(SAGE_LOCAL, 'bin', 'zsolve')
|
|
-
|
|
|
|
|
|
def _sandpile_help(cls, usage, verbose=True):
|
|
@@ -5150,7 +5147,7 @@ class SandpileDivisor(dict):
|
|
sign_file.close()
|
|
# compute
|
|
try:
|
|
- os.system(path_to_zsolve+' -q ' + lin_sys + ' > ' + lin_sys_log)
|
|
+ os.system('zsolve -q ' + lin_sys + ' > ' + lin_sys_log)
|
|
# process the results
|
|
zhom_file = open(lin_sys_zhom,'r')
|
|
except IOError:
|