sagemath/sagemath-4ti2.patch
2014-02-08 15:23:21 -02:00

21 lines
779 B
Diff

diff -up src/sage/sandpiles/sandpile.py.orig src/sage/sandpiles/sandpile.py
--- src/sage/sandpiles/sandpile.py.orig 2014-01-28 16:01:55.841188856 -0200
+++ src/sage/sandpiles/sandpile.py 2014-01-28 16:02:07.914189318 -0200
@@ -24,8 +24,6 @@ packages. An alternative is to install
following variable to the correct path.
"""
-path_to_zsolve = os.path.join(SAGE_LOCAL,'bin','zsolve')
-
r"""
Sage Sandpiles
@@ -4097,7 +4095,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: