Status: Accepted
Owner: asmeurer
CC: [email protected]
Labels: Type-Defect Priority-Medium Polynomial
New issue 2575 by asmeurer: sqf_part should work without generators in the
constant case
http://code.google.com/p/sympy/issues/detail?id=2575
In [2]: sqf_part(4)
---------------------------------------------------------------------------
ComputationFailed Traceback (most recent call last)
/Users/aaronmeurer/Documents/python/sympy/sympy-scratch/<ipython console>
in <module>()
/Users/aaronmeurer/Documents/python/sympy/sympy-scratch/sympy/polys/polytools.pyc
in
sqf_part(f, *gens, **args)
4788 F, opt = poly_from_expr(f, *gens, **args)
4789 except PolificationFailed, exc:
-> 4790 raise ComputationFailed('sqf_part', 1, exc)
4791
4792 result = F.sqf_part()
ComputationFailed: sqf_part(4) failed without generators
But sqf_list works:
In [3]: sqf_list(4)
Out[3]: (4, [])
--
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.