(calc-sel-expand-formula): Simplify expanded denominator.

This commit is contained in:
Jay Belanger 2009-01-27 05:12:28 +00:00
parent 7179ce7b35
commit 170bc4f7d8

View file

@ -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))