Skip to content

Commit c3ac127

Browse files
committed
Fixed sympy bug
1 parent 8394bba commit c3ac127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

escriptcore/py_src/start.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
import sympy as sp
4040
spVer=sp.__version__
4141
spl=spVer.split('.')
42-
if int(spl[0]) == 0 and int(spl[1]) < 7:
42+
if (int(spl[0]) == 0 and int(spl[1]) < 7) or (int(spl[0]) == 1 and int(spl[1]) > 2):
4343
HAVE_SYMBOLS=False
4444
else:
4545
HAVE_SYMBOLS=True

0 commit comments

Comments
 (0)