Skip to content

Commit 2994946

Browse files
committed
add deprecation for /(Poly, Poly)
1 parent 3186f7c commit 2994946

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Polynomials.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,8 @@ function divrem{T, S}(num::Poly{T}, den::Poly{S})
235235

236236
return pQ, pR
237237
end
238+
239+
@deprecate /(num::Poly, den::Poly) div(num::Poly, den::Poly)
238240
div(num::Poly, den::Poly) = divrem(num, den)[1]
239241
rem(num::Poly, den::Poly) = divrem(num, den)[2]
240242

0 commit comments

Comments
 (0)