Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
rwst committed Mar 11, 2016
1 parent f92f927 commit 0391252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/symbolic/expression_conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ def composition(self, ex, operator):
g = ex.operands()
import sympy

f_sympy = getattr(sympy, f, None)
f_sympy = getattr(sympy, f, None) or isinstance(f, sympy.core.function.UndefinedFunction)
if f_sympy:
return f_sympy(*sympy.sympify(g, evaluate=False))
else:
Expand Down

0 comments on commit 0391252

Please sign in to comment.