HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7179ce7
)
(calc-sel-expand-formula): Simplify expanded denominator.
author
Jay Belanger
<jay.p.belanger@gmail.com>
Tue, 27 Jan 2009 05:12:28 +0000
(
05:12
+0000)
committer
Jay Belanger
<jay.p.belanger@gmail.com>
Tue, 27 Jan 2009 05:12:28 +0000
(
05:12
+0000)
lisp/calc/calc-sel.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/calc/calc-sel.el
b/lisp/calc/calc-sel.el
index
62debf5
..
42d6447
100644
(file)
--- a/
lisp/calc/calc-sel.el
+++ b/
lisp/calc/calc-sel.el
@@
-801,7
+801,8
@@
(unless arg
(setq rhs (math-expand-term rhs))))))
(if (and arg (not no-simp))
- (setq rhs (calcFunc-expand rhs (unless (= arg 0) arg))))
+ (setq rhs (math-simplify
+ (calcFunc-expand rhs (unless (= arg 0) arg)))))
(setq alg (calc-encase-atoms
(calc-normalize (list func lhs rhs)))))
(setq rhs (list (if divide '* '/) sel alg))