Change set_df_render to set_default_render
This commit is contained in:
parent
5df17b4779
commit
1acf73c598
@ -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):
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user