Skip to content
Snippets Groups Projects
Commit 4e3a42dc authored by Isuru Fernando's avatar Isuru Fernando
Browse files

Support sympy.UnevaluatedExpr

parent 6b093674
No related branches found
No related tags found
No related merge requests found
......@@ -111,6 +111,9 @@ class SympyLikeToPymbolicMapper(SympyLikeMapperBase):
return prim.CommonSubexpression(
self.rec(expr.args[0]), expr.prefix)
def map_UnevaluatedExpr(self, expr): # noqa
return self.rec(expr.args[0])
def not_supported(self, expr): # noqa
if isinstance(expr, int):
return expr
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment