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
added .free_symbols to Variable. #28
Conversation
Fixed in SymPy. |
…e_unit due to error.
@schymans can you try to rebase on top of master? I am not really sure how to resolve some of the conflicts. |
I thought I had! I'll check again. I actually realised that Quantities are not returned as free symbols in Sympy, so the current behaviour is consistent. I am now creating some functions in utils.py to achieve what I wanted originally. Therefore, I'll close this PR and start a new one. |
At the moment, the
.free_symbols
method on physical variables and equations returns{}
. This PR should give a dictionary of physical variables in an equation or expression.