solve mistake in doctest

This commit is contained in:
Benjamin Bertrand 2016-03-26 05:37:17 +03:00
parent f985aa8a2f
commit 704d945bba

View File

@ -661,7 +661,7 @@ class AbstractPolynom(Explicable):
< AbstractPolynom x [< Fraction 1 / 2>, 1, 2]> < AbstractPolynom x [< Fraction 1 / 2>, 1, 2]>
>>> for i in (P/2).explain(): >>> for i in (P/2).explain():
... print(i) ... print(i)
( 4 x^{ 2 } + 2 x + 1 ) \times 2 \frac{ 4 x^{ 2 } + 2 x + 1 }{ 2 }
\frac{ 4 }{ 2 } x^{ 2 } + \frac{ 2 }{ 2 } x + \frac{ 1 }{ 2 } \frac{ 4 }{ 2 } x^{ 2 } + \frac{ 2 }{ 2 } x + \frac{ 1 }{ 2 }
2 x^{ 2 } + x + \frac{ 1 }{ 2 } 2 x^{ 2 } + x + \frac{ 1 }{ 2 }