Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad creation of Function segfaults instead of raises #463

Closed
rikardn opened this issue Jan 19, 2024 · 0 comments · Fixed by #466
Closed

Bad creation of Function segfaults instead of raises #463

rikardn opened this issue Jan 19, 2024 · 0 comments · Fixed by #466
Labels

Comments

@rikardn
Copy link
Contributor

rikardn commented Jan 19, 2024

import symengine
symengine.Function('f', 'x')

Will generate a segfault. The same example in sympy will raise. The example is of course faulty, but it is always easier to faultfind these errors in Python if it raises rather than segfaults.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant