#2179 conjugate of CRE matrix

open
5
2012-11-18
2011-04-02
No

Wrong:

(%i10) conjugate(matrix([rat(0)]));
Maxima encountered a Lisp error:
value 1 is not of the expected type LIST.

OK:

(%i11) conjugate(matrix([0]));
(%o11) matrix([0])

Discussion

  • Barton Willis

    Barton Willis - 2011-04-23

    I think this bug is related to a problem with csign:

    (%i25) csign([rat(0)]);
    1" Enter "csign[[0]]
    Maxima encountered a Lisp error:
    Error in PROGN [or a callee]: Caught fatal error [memory may be damaged]
    Automatically continuing.
    To enable the Lisp debugger set *debugger-hook* to nil.

    (%i26) csign([0]);
    1" Enter "csign[[0]]
    1" Exit "csignpnz
    (%o26) pnz

     
  • Dieter Kaiser

    Dieter Kaiser - 2011-04-23

    With SBCL I get the following error:

    (%i1) csign([rat(0)]);
    Maxima encountered a Lisp error:
    The value 1 is not of type LIST.
    Automatically continuing.
    To enable the Lisp debugger set *debugger-hook* to nil.

    The error seems not be a problem of csign. We get it with sign too. csign calls sign in a special mode.

    (%i2) sign([rat(0)]);
    Maxima encountered a Lisp error:
    The value 1 is not of type LIST.
    Automatically continuing.
    To enable the Lisp debugger set *debugger-hook* to nil.

    Dieter Kaiser

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks