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

diff does not work with Eq #19727

Open
friyaz opened this issue Jul 8, 2020 · 1 comment
Open

diff does not work with Eq #19727

friyaz opened this issue Jul 8, 2020 · 1 comment
Labels

Comments

@friyaz
Copy link
Member

friyaz commented Jul 8, 2020

On sympy master:

>>> from sympy import *
>>> from sympy.abc import x, y
>>> eq = Eq(x**2 + y**2 - 4, 0)
>>> diff(eq, x)
Derivative(Eq(x**2 + y**2 - 4, 0), x)
>>> diff(eq, x).doit()
Derivative(Eq(x**2 + y**2 - 4, 0), x)

Is this the expected behavior? I think it will be better if diff should differentiate both LHS and RHS and returns an Eq.

@oscarbenjamin
Copy link
Contributor

See #4986 and #19479

@sylee957 sylee957 added the core label Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants