Comment #2 on issue 1913 by smi...@gmail.com: pseudo integralof x
http://code.google.com/p/sympy/issues/detail?id=1913
pokya needs to use free_symbols so this doesn't fail:
>>> Poly(x+Integral(x**x, (x, 1, y)) ,x)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "sympy\polys\polytools.py", line 101, in __new__
return cls._from_expr(rep, opt)
File "sympy\polys\polytools.py", line 208, in _from_expr
rep, opt = _dict_from_expr(rep, opt)
File "sympy\polys\polyutils.py", line 287, in _dict_from_expr
rep, gens = _dict_from_expr_if_gens(expr, opt)
File "sympy\polys\polyutils.py", line 245, in _dict_from_expr_if_gens
(poly,), gens = _parallel_dict_from_expr_if_gens((expr,), opt)
File "sympy\polys\polyutils.py", line 160, in
_parallel_dict_from_expr_if_gens
raise PolynomialError("%s contains an element of the generators
set" % facto
r)
sympy.polys.polyerrors.PolynomialError: Integral(x**x, (x, 1, y))
contains an el
ement of the generators set
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.