On 1/6/07, Amit Aronovitch <aronovitch at gmail.com> wrote:
> I was told that the following might be a bug in "sum".
> It seems to do an extra evaluation, which causes unexpected results.
Amit, you are correct, there was an extra evaluation.
I have modified src/asum.lisp to cut it out & committed the modified
version to cvs. I've appended MEVALSUMARG to this message,
and also a patch file in case you are building Maxima yourself.
By the way this change does not change the behavior of sum
for any of the 200+ cases in the Maxima test suite (run_testsuite).
Thanks for the bug report and please let us know if this change
does not fix it.
best
Robert Dodier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mevalsumarg.lisp
Type: application/octet-stream
Size: 1091 bytes
Desc: not available
Url : http://www.math.utexas.edu/pipermail/maxima/attachments/20070106/fa8d54e1/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asum.lisp-patch
Type: application/octet-stream
Size: 730 bytes
Desc: not available
Url : http://www.math.utexas.edu/pipermail/maxima/attachments/20070106/fa8d54e1/attachment-0001.obj