#1826 ezgcd & CRE expressions / FIX

None
closed
nobody
5
2015-05-08
2009-11-29
No

OK:

(%i1) apply(ezgcd,[x-5,x-9]);
(%o1) [1,x-5,x-9]

Not OK:

(%i2) apply(ezgcd,[rat(x-5),x-9]);
(%o2) true

Discussion

  • Barton Willis

    Barton Willis - 2009-11-30

    Possible fix:

    (defmfun $ezgcd (&rest args)
    (prog (pfl allvars presult flag genvar denom pfl2)
    ;;need if genvar doesn't shrink
    (when (null args)
    (wna-err '$ezgcd))
    (when (some #'$ratp args)
    (setq flag t)) ;; was (return (setq flag t)))

     
  • Barton Willis

    Barton Willis - 2009-11-30
    • summary: ezgcd & CRE expressions --> ezgcd & CRE expressions / FIX
     
  • Robert Dodier

    Robert Dodier - 2013-07-26
    • labels: --> Lisp Core - Polynomials
    • Group: --> None
     
  • Kris Katterjohn

    Kris Katterjohn - 2015-05-08
    • status: open --> closed
     
  • Kris Katterjohn

    Kris Katterjohn - 2015-05-08

    This was fixed by commit [66e77f] last year. I thought that I had checked the bug tracker, but I guess I forgot.

     

    Related

    Commit: [66e77f]


Log in to post a comment.