mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-10 23:18:51 -04:00
22 lines
918 B
Diff
22 lines
918 B
Diff
diff -up src/sage/sandpiles/sandpile.py.orig src/sage/sandpiles/sandpile.py
|
|
--- src/sage/sandpiles/sandpile.py.orig 2021-05-09 16:00:11.000000000 -0600
|
|
+++ src/sage/sandpiles/sandpile.py 2021-05-28 11:34:47.438557513 -0600
|
|
@@ -347,9 +347,6 @@ from sage.rings.all import Integer, Poly
|
|
from sage.symbolic.constants import I, pi
|
|
from sage.symbolic.ring import 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):
|
|
@@ -5172,7 +5169,7 @@ class SandpileDivisor(dict):
|
|
sign_file.write('\n')
|
|
# 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:
|