Add a docstest for this bug
This commit is contained in:
parent
e0a160076c
commit
6766ae0002
@ -406,6 +406,11 @@ class AbstractPolynom(Explicable):
|
|||||||
7
|
7
|
||||||
>>> c.steps
|
>>> c.steps
|
||||||
[< Step [2, 2, *, 3, +]>, < Step [4, 3, +]>, < Step [4, 3, +]>, < Step [7]>]
|
[< Step [2, 2, *, 3, +]>, < Step [4, 3, +]>, < Step [4, 3, +]>, < Step [7]>]
|
||||||
|
>>> c = AbstractPolynom.smpl_coef_list([0, 2, 0])
|
||||||
|
>>> c
|
||||||
|
2
|
||||||
|
>>> c.steps
|
||||||
|
[< Step [2]>]
|
||||||
"""
|
"""
|
||||||
# Simplify each element before adding them
|
# Simplify each element before adding them
|
||||||
smpl_elem = []
|
smpl_elem = []
|
||||||
|
Loading…
Reference in New Issue
Block a user