Comment #2 on issue 3887 by [email protected]: sympy 0.7.2 hangs when
trying to solve a simple algebraic equation
http://code.google.com/p/sympy/issues/detail?id=3887
after Floats are replaced with Rationals, a failure occurs when trying to
convert the expression to a Poly:
e
-exp(54240381056521*alpha/250000000000) + 100
Poly(e)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "sympy\polys\polytools.py", line 95, in __new__
return cls._from_expr(rep, opt)
File "sympy\polys\polytools.py", line 206, in _from_expr
return cls._from_dict(rep, opt)
File "sympy\polys\polytools.py", line 155, in _from_dict
return cls.new(DMP.from_dict(rep, level, domain), *gens)
File "sympy\polys\polyclasses.py", line 255, in from_dict
return cls(dmp_from_dict(rep, lev, dom), dom, lev)
File "sympy\polys\densebasic.py", line 1021, in dmp_from_dict
return dup_from_dict(f, K)
File "sympy\polys\densebasic.py", line 971, in dup_from_dict
for k in xrange(n, -1, -1):
OverflowError: Python int too large to convert to C long
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.