From f1e0e03c67fb21caa994e5b5474ca3abb371d131 Mon Sep 17 00:00:00 2001 From: Jay Belanger Date: Mon, 8 Nov 2004 02:21:11 +0000 Subject: [PATCH] (math-do-integral-methods): Try linear, then non-linear, substitutions. --- lisp/calc/calcalg2.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/calc/calcalg2.el b/lisp/calc/calcalg2.el index 7e8484ea79f..ff23c3e5421 100644 --- a/lisp/calc/calcalg2.el +++ b/lisp/calc/calcalg2.el @@ -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)))) -- 2.39.5