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

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

@alexfikl
alexfikl force-pushed the evalf-symbolic-pyfunction branch from 0b76eaa to 2cd76d3 Compare October 6, 2026 11:18

This branch has not been deployed

No deployments
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