1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

calc-poly.el: (math-accum-factors): Make sure that constants aren't distributed

after they are factored out.
This commit is contained in:
Jay Belanger 2010-06-16 18:27:20 -05:00
parent e020fb59a3
commit fb3e306a4f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
* calc/calc-poly.el: (math-accum-factors): Make sure that
constants aren't distributed after they are factored out.
2010-06-16 Juri Linkov <juri@jurta.org>
* facemenu.el (list-colors-display): Call `pop-to-buffer' before

View File

@ -663,7 +663,7 @@
(cons 'vec (cons (nth 1 facs) (cons (list 'vec fac pow)
(cdr (cdr facs)))))
(cons 'vec (cons (list 'vec fac pow) (cdr facs))))))))
(math-mul (math-pow fac pow) facs)))
(math-mul (math-pow fac pow) (math-factor-protect facs))))
(defun math-factor-poly-coefs (p &optional square-free) ; uses "x"
(let (t1 t2 temp)