Skip to content

Commit

Permalink
src/bin/sage-eval: Do not fail if sage.calculus.predefined is not ava…
Browse files Browse the repository at this point in the history
…ilable
  • Loading branch information
mkoeppe committed Oct 19, 2021
1 parent 6b0fbda commit d5e24d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bin/sage-eval
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

import sys
from sage.all import *
from sage.calculus.predefined import x
try:
from sage.calculus.predefined import x
except ImportError:
pass
from sage.repl.preparse import preparse

if len(sys.argv) > 1:
Expand Down

0 comments on commit d5e24d5

Please sign in to comment.