Comment #15 on issue 1321 by [email protected]: trigonometric functions of floating-point numbers should return floating-point numbers
http://code.google.com/p/sympy/issues/detail?id=1321

Sure. On commit 1bde5a30637bcdbe02b546a7e49d8bd203cfb9d0, try

solve(x-0.5,x)
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "sympy/solvers/solvers.py", line 235, in solve
    result = roots(poly, cubics=True, quartics=True).keys()
  File "sympy/polys/polyroots.py", line 294, in roots
    f, x = f.to_field(), f.gen
  File "sympy/polys/polytools.py", line 773, in to_field
    result = f.rep.to_field()
  File "sympy/polys/polyclasses.py", line 1153, in to_field
    return f.convert(f.dom.get_field())
  File "sympy/polys/algebratools.py", line 1188, in get_field
    raise DomainError('there is no field associated with %s' % self)
DomainError: there is no field associated with RR

This is the essence of the problem. ronan informed me someone fixed this in some other branch. That's why I didn't include this issue in my recent update. The only real remaining problem is 1) as described in the message above yours.

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