Skip to content

Commit

Permalink
Fix regression in SymPy 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
blechta committed Jul 10, 2018
1 parent 533c0cd commit 8ceb29a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FIAT/expansions.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def form_derivative(F):
out = []
try:
out = [sympy.diff(F, X[j]) for j in range(D)]
except AttributeError:
except (AttributeError, ValueError):
# Intercept errors like
# AttributeError: 'list' object has no attribute
# 'free_symbols'
Expand Down

0 comments on commit 8ceb29a

Please sign in to comment.