Menu

#3265 gcfactor(0) -> division by zero

None
closed
None
5
2019-11-02
2016-12-28
No

gcfactor(0);
Maxima encountered a Lisp error:
Condition in MACSYMA-TOP-LEVEL [or a callee]: INTERNAL-SIMPLE-ERROR: Zero divisor.
Automatically continuing.
To enable the Lisp debugger set debugger-hook to nil.

This is with maxima 5.37.2 (Ubuntu 16.04).
Expected result: 0 (or a more precise error message, but not an uncaught internal lisp error).

Discussion

  • Stavros Macrakis

    Tested in 5.42. Still broken.

     
  • Kris Katterjohn

    Kris Katterjohn - 2019-10-29
    • status: open --> closed
     
  • Kris Katterjohn

    Kris Katterjohn - 2019-10-29

    Thank you for the report. I've fixed this with commit [e0298c]:

    (%i1) gcfactor (0);
    (%o1) 0
    

    By the way, it looks like this was broken back in Maxima 5.0 as well.

     

    Related

    Commit: [e0298c]

  • Kris Katterjohn

    Kris Katterjohn - 2019-11-02
    • assigned_to: Kris Katterjohn
     

Log in to post a comment.