#2710 `rempart' from package `functs' fails

None
closed
nobody
functs (3)
5
2014-08-26
2014-03-28
No

Function `rempart' fails in several situations:

(%i1) load("functs")$
(%i2) rempart(a+b+c,2);
Maxima encountered a Lisp error:

APPEND: $C is not a list

Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.
(%i3) rempart(a*b*c,2);
Maxima encountered a Lisp error:

APPEND: $A is not a list

Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.
(%i4) rempart([a,b,3],2);
Maxima encountered a Lisp error:

GET: 3 is not a symbol

Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.
(%i5) n[any]:=error();
(%o5)                           n    := error()
                                 any
(%i6) rempart([a,b,c],[1,2]);
#0: lambda([any],error())(any=1)
#1: rempart(exp=[a,b,c],n=[1,2])(functs.mac line 11)
 -- an error. To debug this try: debugmode(true);

(%i7) build_info();
(%o7) 
Maxima version: "branch_5_32_base_93_g33a7882"
Maxima build date: "2014-03-27 19:40:19"
Host type: "x86_64-unknown-linux-gnu"
Lisp implementation type: "CLISP"
Lisp implementation version: "2.49 (2010-07-07) (built 3575122160) (memory 3604934424)"

Discussion

  • Rupert Swarbrick

    I've fixed this in [ac50e8]. Thanks for the report.

     

    Related

    Commit: [ac50e8]

  • Rupert Swarbrick

    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks