Status: Accepted
Owner: mrock...@gmail.com
Labels: Type-Defect Priority-Medium
New issue 2512 by mrock...@gmail.com: integrate(x * delta(2*x)) fails
http://code.google.com/p/sympy/issues/detail?id=2512
$ bin/isympy
integrate(x*deltafunctions.DiracDelta(2*x))
IndexError: list index out of range
This is caused because in deltaintegrate() an input Mul expression is
separated out into a DiracDelta and all-other-factors. Afterwards the
DiracDelta is simplified. This might turn the DiracDelta into a Mul such as
in the case
DiracDelta(2*x) -> 1/2 * DiracDelta(x).
The rest of the deltaintegrate code assumes that the delta term is a pure
delta function though.
I'll submit a pull with a simple fix. There might be something cleaner
though if anyone has any ideas.
--
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.