diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/calc/calc-poly.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b59e5f2708c..ce2560ffa8e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com> | ||
| 2 | |||
| 3 | * calc/calc-poly.el: (math-accum-factors): Make sure that | ||
| 4 | constants aren't distributed after they are factored out. | ||
| 5 | |||
| 1 | 2010-06-16 Juri Linkov <juri@jurta.org> | 6 | 2010-06-16 Juri Linkov <juri@jurta.org> |
| 2 | 7 | ||
| 3 | * facemenu.el (list-colors-display): Call `pop-to-buffer' before | 8 | * facemenu.el (list-colors-display): Call `pop-to-buffer' before |
diff --git a/lisp/calc/calc-poly.el b/lisp/calc/calc-poly.el index a994ace6fb6..f268a032d14 100644 --- a/lisp/calc/calc-poly.el +++ b/lisp/calc/calc-poly.el | |||
| @@ -663,7 +663,7 @@ | |||
| 663 | (cons 'vec (cons (nth 1 facs) (cons (list 'vec fac pow) | 663 | (cons 'vec (cons (nth 1 facs) (cons (list 'vec fac pow) |
| 664 | (cdr (cdr facs))))) | 664 | (cdr (cdr facs))))) |
| 665 | (cons 'vec (cons (list 'vec fac pow) (cdr facs)))))))) | 665 | (cons 'vec (cons (list 'vec fac pow) (cdr facs)))))))) |
| 666 | (math-mul (math-pow fac pow) facs))) | 666 | (math-mul (math-pow fac pow) (math-factor-protect facs)))) |
| 667 | 667 | ||
| 668 | (defun math-factor-poly-coefs (p &optional square-free) ; uses "x" | 668 | (defun math-factor-poly-coefs (p &optional square-free) ; uses "x" |
| 669 | (let (t1 t2 temp) | 669 | (let (t1 t2 temp) |