Updates:
Labels: -NeedsReview NeedsBetterPatch
Comment #45 on issue 1694 by smichr: solve has many issues with fractions
http://code.google.com/p/sympy/issues/detail?id=1694
Two bad solutions are slipping through after applying the patch:
from sympy import *
var('x')
x
eq=x**Rational(1,2)+x**Rational(1,3)+x**Rational(1,4)
ans=solve(eq,x)
for a in ans:
... print eq.subs(x,a).n()
...
3.03718975207477 - 6.02638994367449*I
0
3.03718975207477 + 6.02638994367449*I
Perhaps your check function should check the abs() of the result obtained
after substituting in the solution.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to sympy-iss...@googlegroups.com.
To unsubscribe from this group, send email to
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.