Skip to content

Fix crash for non-numeric Pyfunction.eval - #532

Draft
alexfikl wants to merge 2 commits into
symengine:mainfrom
alexfikl:evalf-symbolic-pyfunction
Draft

Fix crash for non-numeric Pyfunction.eval#532
alexfikl wants to merge 2 commits into
symengine:mainfrom
alexfikl:evalf-symbolic-pyfunction

Conversation

@alexfikl

Copy link
Copy Markdown

The added test case would outright crash before. This essentially tries to convert to a number and raises NotImplementedError if the expression is symbolic.

Needs: symengine/symengine#2173
xref: inducer/sumpy#306
cc: @inducer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant