Comment #27 on issue 2571 by [email protected]: Regression in Integral.subs
http://code.google.com/p/sympy/issues/detail?id=2571
I tried to make the first change by inserting as the first line of
Integral._eval_subs, the following:
if old.is_Symbol and new.is_Symbol and not \
any(any(new in li.free_symbols for li in l[1:]) \
for l in self.limits if len(l) > 1):
return self.xreplace({old: new})
This gave an error in integrals.py:
Failed example:
i.diff(x)
Expected:
Integral(x + y, (y, x)) + Integral(1, y, (y, 1, x))
Got:
Integral(2*x, (x, x)) + Integral(1, y, (y, 1, x))
(I'm not pursuing this, so if someone else is interested don't wait for me.)
--
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.