mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-18 18:29:01 -04:00
- 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.
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
|
|
@@ -346,9 +346,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):
|
|
@@ -5163,7 +5160,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:
|