Mercurial > emacs
diff lisp/calc/calcalg2.el @ 58027:771eb065ad11
(math-do-integral-methods): Try linear, then non-linear, substitutions.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Mon, 08 Nov 2004 02:21:11 +0000 |
parents | 768b8e4f123b |
children | 7f5b01c17652 cb7f41387eb3 |
line wrap: on
line diff
--- a/lisp/calc/calcalg2.el Mon Nov 08 00:38:48 2004 +0000 +++ b/lisp/calc/calcalg2.el Mon Nov 08 02:21:11 2004 +0000 @@ -981,9 +981,8 @@ ;; Integration by substitution, for various likely sub-expressions. ;; (In first pass, we look only for sub-exprs that are linear in X.) - (or (if math-linear-subst-tried - (math-integ-try-substitutions expr) - (math-integ-try-linear-substitutions expr)) + (or (math-integ-try-linear-substitutions expr) + (math-integ-try-substitutions expr) ;; If function has sines and cosines, try tan(x/2) substitution. (and (let ((p (setq rat-in (math-expr-rational-in expr))))