From 1acf73c59852820d599625ea19737f63b83d09ba Mon Sep 17 00:00:00 2001 From: Lafrite Date: Sat, 20 Dec 2014 16:43:58 +0100 Subject: [PATCH] Change set_df_render to set_default_render --- pymath/expression.py | 2 +- pymath/polynom.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pymath/expression.py b/pymath/expression.py index 17029aa..e230ff0 100644 --- a/pymath/expression.py +++ b/pymath/expression.py @@ -19,7 +19,7 @@ class Expression(object): cls.STR_RENDER = render @classmethod - def set_df_render(cls): + def set_default_render(cls): cls.set_render(cls.DEFAULT_RENDER) def __init__(self, exp): diff --git a/pymath/polynom.py b/pymath/polynom.py index 2241b6b..e1f4a12 100644 --- a/pymath/polynom.py +++ b/pymath/polynom.py @@ -178,7 +178,7 @@ class Polynom(object): # On fait réduire l'expression puis on ajoute dans steps Expression.set_render(lambda _,x:Expression(x)) coef_steps = list(coef_exp.simplify()) - Expression.set_df_render() + Expression.set_default_render() # On ajoute toutes ces étapes coefs_steps.append(coef_steps)