#2746 scifac / gcfac crash

None
closed
nobody
None
5
2014-06-03
2014-06-03
No

load( scifac )

let foo : L1 * C1 * s^2 + R1 * C1 * s + 1

gcfac( foo ) works fine but gcfac( rat( foo , s ) ) crashes

Maxima encountered a Lisp error:
Error in COND [or a callee]: Caught fatal error [memory may be damaged]
Automatically continuing.
To enable the Lisp debugger set debugger-hook to nil

Thanks

wxMaxima version: 13.4.0
Maxima version: 5.31.2
Maxima build date: 2013-10-07 23:05:06
Host type: i686-pc-mingw32
Lisp implementation type: GNU Common Lisp (GCL)
Lisp implementation version: GCL 2.6.8

1 Attachments

Discussion

  • Barton Willis

    Barton Willis - 2014-06-03

    Likely fix:

    $gcfac (x)
    (cond (($mapatom x) x)
    (t (monomial-factor (copy-tree ($totaldisrep x))))))

     
  • Jacques Mequin

    Jacques Mequin - 2014-06-03

    Problem solved! Thanks

    Regards,
    Jacques

     
  • Barton Willis

    Barton Willis - 2014-06-03

    Suggested fix applied--the test suite and the share test suite do not test gcfac, by the way.

     
  • Barton Willis

    Barton Willis - 2014-06-03
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     load( scifac )
    
     let   foo : L1 * C1 * s^2 + R1 * C1 * s + 1
    
    • status: open --> closed
     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks