From: Michael Orlitzky Date: Fri, 16 Aug 2013 20:51:47 +0000 (-0400) Subject: Remove medium_simplify() now that simplify_radical() was removed from full_simplify(). X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=4915f150aca0c6ae56cdabe5b50c42db7171707f;p=sage.d.git Remove medium_simplify() now that simplify_radical() was removed from full_simplify(). --- diff --git a/mjo/symbolic.py b/mjo/symbolic.py index d2a1329..e2645a3 100644 --- a/mjo/symbolic.py +++ b/mjo/symbolic.py @@ -44,18 +44,3 @@ def safe_simplify(expr): expr = expr.simplify_factorial() expr = expr.simplify_log() return expr - - -def medium_simplify(expr): - """ - A reasonably-safe set of simplifications, much better than - simplify() and safer than simplify_full() - - Uses a top-level function because we can't monkey-patch Cython - classes. - """ - expr = expr.simplify_factorial() - expr = expr.simplify_trig() - expr = expr.simplify_rational() - expr = expr.simplify_log() - return expr