Updates:
Status: Fixed
Comment #4 on issue 1161 by [email protected]: Wrong result if calling
Basic.subs() with a dictionary
http://code.google.com/p/sympy/issues/detail?id=1161
This does not appear to be an issue anymore:
equation = Eq(K**0.4 * L, 3)
solve(equation, K)
[15.5884572681199*(1/L)**(5/2)]
solve(Eq(K**0.5 * L, 3),K)
[9.0/L**2]
x = Dummy('x')
a, b, c, d, e = [Wild(t, exclude=[x]) for t in "abcde"]
L = Symbol("L")
m = {a: L, b: 1, c: 0, d: 0.4, e: -3}
sol = (-c + (-e/a)**(1/d))/b
sol.subs(m)
3**2.5*(1/L)**2.5
sol.subs(m.items())
3**2.5*(1/L)**2.5
--
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.