From 4915f150aca0c6ae56cdabe5b50c42db7171707f Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 16 Aug 2013 16:51:47 -0400 Subject: [PATCH] Remove medium_simplify() now that simplify_radical() was removed from full_simplify(). --- mjo/symbolic.py | 15 --------------- 1 file changed, 15 deletions(-) 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 -- 2.44.2