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,
66 coeffs,
77 degree,
88 mapdomain,
9- order,
109 hasnan,
1110 roots,
1211 companion,
@@ -586,6 +585,7 @@ has a nonzero coefficient. The degree of the zero polynomial is defined to be -1
586585"""
587586degree (p:: AbstractPolynomial ) = iszero (coeffs (p)) ? - 1 : length (coeffs (p)) - 1 + min (0 , minimumexponent (p))
588587
588+ @deprecate order degree true
589589
590590"""
591591 Polynomials.domain(::Type{<:AbstractPolynomial})
Original file line number Diff line number Diff line change 1010 @test p. coeffs == coeff
1111 @test coeffs (p) == coeff
1212 @test degree (p) == length (coeff) - 1
13+ @test (@test_deprecated order (p)) == length (coeff) - 1
1314 @test Polynomials. indeterminate (p) == :x
1415 @test length (p) == length (coeff)
1516 @test size (p) == size (coeff)
You can’t perform that action at this time.
0 commit comments