Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1202 unsimplified result from sum

open
nobody
4
2012-11-18
2007-05-26
Barton Willis
No

Test 74 in rtestsum shows a bug:

(%i1) e : sum(lambda([i],i^2),i,1,n)$
(%i2) [e, expand(e,0,0)];
(%o2) [n*lambda([i],i^2),lambda([i],i^2)*n]

I think the problem is that simpsum does some
gensym stuff and then it doesn't resimplify after
it replaces the gensym variable.

Discussion