Bug in sumcontract



On 4/24/06, Andrej Vodopivec <andrej.vodopivec at gmail.com> wrote:

> (%i5) sumcontract(sum(k, k, 1, n) + sum(k^2, k, 1, n));
> Maxima encountered a Lisp error:
>  Error in MACSYMA-TOP-LEVEL [or a callee]: The function $MAX is undefined.
> Automatically continuing.
> To reenable the Lisp debugger set *debugger-hook* to nil.
>
> A patch for this is attached.

$MAX recently (between 5.9.2 and 5.9.3) became a simplifying function
instead of an ordinary Lisp function, so stuff like ($MAX ...) fails now.
You might grep the source to see if there are other places where
$MAX (and $MIN) are treated like ordinary functions, and fix those too.
It wouldn't hurt to throw some additional test cases into tests/rtest*.mac
to test the changed bits.

Thanks a lot,
Robert