Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2484 by [email protected]: Create Poly by coefficients fails
http://code.google.com/p/sympy/issues/detail?id=2484

IPython console for SymPy 0.6.7-git (Python 2.7.1) (ground types: gmpy)

In [1]: Poly([0,1.0], Symbol('x'))
...
CoercionFailed: expected Real object, got 0

But this works:
In [2]: Poly([0,1], Symbol('x'))
Out[2]: Poly(1, x, domain='ZZ')


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