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

added .free_symbols to Variable. #28

Closed
wants to merge 15 commits into from

Conversation

schymans
Copy link
Collaborator

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.

@jirikuncar jirikuncar self-assigned this Jul 14, 2017
@jirikuncar
Copy link
Collaborator

Fixed in SymPy.

@jirikuncar
Copy link
Collaborator

@schymans can you try to rebase on top of master? I am not really sure how to resolve some of the conflicts.

@schymans
Copy link
Collaborator Author

schymans commented Sep 7, 2017

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.

@schymans schymans closed this Sep 7, 2017
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.

None yet

2 participants