Comment #5 on issue 2816 by asmeu...@gmail.com: Regarding integration of k*(x**0)
http://code.google.com/p/sympy/issues/detail?id=2816

Ah, this is because x**0 is actually being reduced to 1:

In [34]: 2*x**0
Out[34]: 2

so in this case, it doesn't know that the variable you want is x, because all it gets is the number 2. As I said, if you make it a habit to always give the variable of integration, you will never have this error.

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

Reply via email to