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: when we request symbols or none symbols in a system with inf sols only some are passed #11658

Open
latot opened this issue Sep 26, 2016 · 1 comment

Comments

@latot
Copy link
Contributor

latot commented Sep 26, 2016

Hi, well when we request symbols but the system have multiples solutions we only get one of it, the focus here its the solutions are incomplete:

>>> solve([Eq(20*x,20*y)], x, y)
{x: y}

this should be:

>>> solve([Eq(20*x,20*y)], x, y)
{x: y, y: y}

equal to:

>>> solve([Eq(20*x,20*y)])
{x: y, y: y}

This is very important to don't confuse with #11656

Thx. Cya.

@oscarbenjamin
Copy link
Collaborator

Now both examples return the other result:

In [5]: solve([Eq(20*x,20*y)], x, y)
Out[5]: {x: y}

In [6]: solve([Eq(20*x,20*y)])
Out[6]: {x: y}

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