Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Deprecations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ end
import Base: contains
@deprecate contains(I::Ideal{T}, J::Ideal{T}) where {T <: RingElement} issubset(J, I)

# to be deprecated in the next breaking release
zero_matrix(::Type{Int}, r, c) = zeros(Int, r, c)
Array(R::NCRing, r::Int...) = Array{elem_type(R)}(undef, r)
# deprecated in 0.48.0
@deprecate zero_matrix(::Type{Int}, r, c) zeros(Int, r, c)
@deprecate Array(R::NCRing, r::Int...) Array{elem_type(R)}(undef, r)
function zeros(R::NCRing, r::Int...)
#Base.depwarn("`zeros(R::NCRing, r::Int...)` is deprecated, use `zero_matrix(R, r...)` instead.", :zeros)
Base.depwarn("`zeros(R::NCRing, r::Int...)` is deprecated, use `zero_matrix(R, r...)` instead.", :zeros)
T = elem_type(R)
A = Array{T}(undef, r)
for i in eachindex(A)
Expand Down
Loading