File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ export fromroots,
6
6
coeffs,
7
7
degree,
8
8
mapdomain,
9
- order,
10
9
hasnan,
11
10
roots,
12
11
companion,
@@ -586,6 +585,7 @@ has a nonzero coefficient. The degree of the zero polynomial is defined to be -1
586
585
"""
587
586
degree (p:: AbstractPolynomial ) = iszero (coeffs (p)) ? - 1 : length (coeffs (p)) - 1 + min (0 , minimumexponent (p))
588
587
588
+ @deprecate order degree true
589
589
590
590
"""
591
591
Polynomials.domain(::Type{<:AbstractPolynomial})
Original file line number Diff line number Diff line change 10
10
@test p. coeffs == coeff
11
11
@test coeffs (p) == coeff
12
12
@test degree (p) == length (coeff) - 1
13
+ @test (@test_deprecated order (p)) == length (coeff) - 1
13
14
@test Polynomials. indeterminate (p) == :x
14
15
@test length (p) == length (coeff)
15
16
@test size (p) == size (coeff)
You can’t perform that action at this time.
0 commit comments