Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium
New issue 2512 by [email protected]: 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 [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.