Mercurial > emacs
changeset 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 | 07a92f2a7e6e |
children | 7b117bb1e320 |
files | lisp/calc/calcalg2.el |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
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))))