#936 is(equal(CRE matrix, ...)

closed
nobody
Lisp Core (472)
8
2006-12-19
2006-05-28
Barton Willis
No

See also bug 1495041.

(%i1) equal(rat(matrix([x])),matrix([x]));
(%o1) equal(matrix([x]),matrix([x]))
(%i2) is(%);
Maxima encountered a Lisp error:
Error in AND [or a callee]: Caught fatal error

With a typo, Maxima gives an Lisp error:

(%i3) equal(rat(matrix([x])),matirx([x]));
(%o3) equal(matrix([x]),matirx([x]))
(%i4) is(%);
Maxima encountered a Lisp error:
Error in INFSIMP [or a callee]: #:X33554 is not of
type LIST.

This bug seems to require that one argument is a CRE
matrix:

(%i5) equal(rat(f(x)),f(x));
(%o5) equal(f(x),f(x))
(%i6) is(%);
(%o6) true

Barton

Discussion

  • Robert Dodier
    Robert Dodier
    2006-06-06

    Logged In: YES
    user_id=501686

    Here is a related example that appeared on the mailing list.

    is (equal (ident (2), rat (ident (2))));

    => CAR: 1 is not a list (Maxima 5.9.3 / Clisp 2.34)

    => Error in PROGN [or a callee]: Caught fatal error
    [memory may be damaged] (Maxima 5.9.3 / GCL 2.6.7)

     
  • Robert Dodier
    Robert Dodier
    2006-08-26

    Logged In: YES
    user_id=501686

    Increasing priority.

     
  • Robert Dodier
    Robert Dodier
    2006-08-26

    • priority: 5 --> 8
     
  • Robert Dodier
    Robert Dodier
    2006-12-19

    • status: open --> closed
     
  • Robert Dodier
    Robert Dodier
    2006-12-19

    Logged In: YES
    user_id=501686
    Originator: NO

    Fixed by r1.16 src/compar.lisp (by Barton Willis).