Change set_df_render to set_default_render

This commit is contained in:
Lafrite 2014-12-20 16:43:58 +01:00
parent 5df17b4779
commit 1acf73c598
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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)