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

Solve: If we request a non symbol and some symbol don't have numerical value in the expression, don't is solved #11660

Open
latot opened this issue Sep 26, 2016 · 0 comments

Comments

@latot
Copy link
Contributor

latot commented Sep 26, 2016

Hi, well, one feature of Sympy its can request not only symbols, expressions too, like 2*x, but when some symbol in f don't have a numerical value we get an empty list:

>>> solve([Eq(x, y*2)], x*2)
[]
This works.
>>> solve([Eq(x*2, y*2)], x*2)
{2*x: 2*y}

Thx. Cya.

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

No branches or pull requests

2 participants