Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 2392 by [email protected]: Inconsistent solve behavior
http://code.google.com/p/sympy/issues/detail?id=2392

When solving a system of equations with variables with arguments the response is not consistent with that obtained with regular symbols

In [1]: solve([x+y+z+t,x+y],x,y,z,t)
Out[1]: {x: -y, z: -t}

In [2]: a = Symbol("a")

In [3]: solve([a(0, 0) + a(0, 1) + a(1, 0) + a(1, 1), -a(1, 0) - a(1, 1)], a(0, 0) , a(0, 1) , a(1, 0) , a(1, 1))
Out[3]: {a(0, 0): -F₁, a(1, 0): -F₃}

Where F1 and F3 are dummy Symbols

The expected result would be

{a(0, 0): -a(0,1), a(1, 0): -a(1,1)}

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to