Maxima 5.17.1 regressions for Sage



On Mon, Dec 22, 2008 at 8:38 AM, Barton Willis <willisb at unk.edu> wrote:

Robert, Barton,

> Reported and fixed sometime ago:
>
> (%i3) spherical_harmonic(3,2,x,y);
> (%o3) 15*sqrt(7)*cos(x)*sin(x)^2*%e^(2*%i*y)/(4*sqrt(30)*sqrt(%pi))
> (%i4) build_info();
>
> Maxima version: 5.16post
> Maxima build date: 6:30 12/19/2008
> host type: i686-pc-mingw32
> lisp-implementation-type: SBCL
> lisp-implementation-version: 1.0.22
>
> Barton

This problem seems to happen only on clisp 2.46 (maybe more?). In
5.16.3 it works:

Using Lisp CLISP 2.46 (2008-07-02)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) spherical_harmonic(3,2,x,y);
WARNING: DEFUN/DEFMACRO: redefining function SIMP-UNIT-STEP in
         /home/mabshoff/build-3.2.1/sage-3.2.1-eno/local/share/maxima/5.16.3/share/orthopoly/orthopoly.lisp,
was defined in
         top-level
WARNING: DEFUN/DEFMACRO: redefining function SIMP-POCHHAMMER in
         /home/mabshoff/build-3.2.1/sage-3.2.1-eno/local/share/maxima/5.16.3/share/orthopoly/orthopoly.lisp,
was defined in
         top-level
                                           2      2 %i y
                      15 sqrt(7) cos(x) sin (x) %e
(%o1)                 ----------------------------------
                             4 sqrt(30) sqrt(%pi)


Same clisp, Maxima 5.17.1 it doesn't:

(%i1) spherical_harmonic(3,2,x,y);
WARNING: DEFUN/DEFMACRO: redefining function SIMP-UNIT-STEP in
         /home/mabshoff/build-3.2.2/sage-3.2.2-eno/local/share/maxima/5.17.1/share/orthopoly/orthopoly.lisp,
was defined in
         top-level
WARNING: DEFUN/DEFMACRO: redefining function SIMP-POCHHAMMER in
         /home/mabshoff/build-3.2.2/sage-3.2.2-eno/local/share/maxima/5.17.1/share/orthopoly/orthopoly.lisp,
was defined in
         top-level
Bad argument to `genfact'
 -- an error.  To debug this try debugmode(true);


Cheers,

Michael