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
New problem with substitution and paranthesis handling #13333
Comments
It looks like SymPy is doing exactly what is prescibed:
Before substitution, The values in the dictionary, |
But the division is wrong, isn't it?? It should be
not the same as the multiplication. The srepr is fine
but souldn't |
Sorry for the messy example with the "Nernst equation". Maybe this is clearer: In sympy 1.1.1.
but
In sympy 1.0
and
|
Note that it is probably the repr() function that causes the problem. In A workaround is to use additional parenthesis. like
But the backwards compatibility to sympy 1.0 is not given and projects like |
Something has changed in the way substitutions work in sympy version 1.1.1. on python3.4.2
with sympy 1.0 on python2.7.9 this yielded
The update seems to have wronged something.
The text was updated successfully, but these errors were encountered: