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

subs compatibility with sympy #418

Open
rikardn opened this issue Sep 2, 2022 · 1 comment
Open

subs compatibility with sympy #418

rikardn opened this issue Sep 2, 2022 · 1 comment

Comments

@rikardn
Copy link
Contributor

rikardn commented Sep 2, 2022

The following snippet run with symengine instead of sympy gives an error because of the missing option simulteneous. Is this needed also in symengine?

    expression.subs(substitutions, simultaneous=True)
E   TypeError: subs() got an unexpected keyword argument 'simultaneous'
@rikardn
Copy link
Contributor Author

rikardn commented Sep 5, 2022

Turns out that symengine does the simultaneous substitution by default and there doesn't seem to be any non-simultaneous option (I don't know when one would want that). One quick solution would be to allow the simultaneousoption, but ignore it.

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

No branches or pull requests

1 participant