Skip to content

Commit 2c32bd8

Browse files
authored
Merge pull request #172 from hurak/master
Corrected outputs of the degree() function in README.md:
2 parents 96b9a21 + 890c1f5 commit 2c32bd8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ To get the degree of the polynomial use the `degree` method
8282

8383
```
8484
julia> degree(p)
85-
1
85+
2
8686
8787
julia> degree(p^2)
88-
2
88+
4
8989
9090
julia> degree(p-p)
91-
0
91+
-1
9292
```
9393

9494
#### polyval(p::Poly, x::Number)

0 commit comments

Comments
 (0)