Updates:
        Owner: fabian.seoane

Comment #1 on issue 1276 by fabian.seoane: solve(-1 + x**2 +  
0.111111111111111*(1.00000000000000 + 2.00000000000000*x)**2,x) fails
http://code.google.com/p/sympy/issues/detail?id=1276

It can be traced down to this:

In [1]: poly_factors(2.0*x, x)
---------------------------------------------------------------------------
CoefficientError                          Traceback (most recent call last)

/Users/fabian/dev/sympy/<ipython console> in <module>()

/Users/fabian/dev/sympy/sympy/polys/factortools.pyc in poly_factors(f,  
*symbols, **flags)
      22         raise SymbolsError("Redundant symbols were given")
      23
---> 24     denom, f = f.as_integer()
      25
      26     if f.is_univariate:

/Users/fabian/dev/sympy/sympy/polys/polynomial.pyc in as_integer(self)
    1280                     denom = ilcm(denom, coeff.q)
    1281             else:
-> 1282                 raise CoefficientError("%s is not a rational  
number" % coeff)
    1283
    1284         denom = sympify(denom)

CoefficientError: 2.00000000000000 is not a rational number

seems poly_factors only accepts rational numbers

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