Comment #4 on issue 1694 by nicolas.pourcelot: solve has many issues with  
fractions
http://code.google.com/p/sympy/issues/detail?id=1694

One assertion in test_solvers.py seems to be wrong :

line 137:
ans = solve(x**Rational(1,2)+x**Rational(1,3)+x**Rational(1,4),x)
assert set([NS(w, n=2) for w in ans]) == \
        set(['1.0e-2', '-9.5 - 2.8*I', '0', '-9.5 + 2.8*I'])

However, 1.0e-2 does not seem to be a solution:
>>> x=0.01
>>> x**Rational(1,2)+x**Rational(1,3)+x**Rational(1,4)
0.631671235020026

Did I miss something (it's late !), or should I correct the test ?


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
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