Comment #3 on issue 3543 by [email protected]: Infinite loop when doing
print() on summation containing summation
http://code.google.com/p/sympy/issues/detail?id=3543
To be more clear, the expression that hangs the printer is
t*Sum(n*(-1)**(1 + j)*binomial(1, j)*ival(j), (j, 0, 1)) +
Sum((-1)**j*binomial(0, j)*ival(j), (j, 0, 0)) + t**3*Sum(n*(-1)**(3 +
j)*(-1 + n)*(-2 + n)*binomial(3, j)*ival(j)/6
, (j, 0, 3)) + t**4*Sum(n*(-1)**(4 + j)*(-1 + n)*(-3 + n)*(-2 +
n)*binomial(4, j)*ival(j)/24, (j, 0, 4)) + t**2*Sum(n*(-1)**(2 + j)*(-1 +
n)*binomial(2, j)*ival(j)/2, (j, 0, 2
)) + t**5*Sum(n*(-1)**(5 + j)*(-1 + n)*(-4 + n)*(-3 + n)*(-2 +
n)*binomial(5, j)*ival(j)/120, (j, 0, 5))
which can be obtained by
sstr(summation(t**i*Ra(i),(i,0,5)), order='none')
--
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.