diff --git a/REQUIRE b/REQUIRE index 8b71418..3df789f 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,2 +1,2 @@ julia 0.7.0-DEV.3449 -Compat 0.33 +Compat 0.61.0 diff --git a/src/generics.jl b/src/generics.jl index 0388003..8bd482b 100644 --- a/src/generics.jl +++ b/src/generics.jl @@ -83,7 +83,7 @@ the quadratic form is applied column-wise. """ function quad(a::AbstractPDMat{T}, x::StridedMatrix{S}) where {T<:Real, S<:Real} @check_argdims dim(a) == size(x, 1) - quad!(Array{promote_type(T, S)}(Compat.undef, size(x,2)), a, x) + quad!(Array{promote_type(T, S)}(undef, size(x,2)), a, x) end @@ -99,5 +99,5 @@ the quadratic form is applied column-wise. """ function invquad(a::AbstractPDMat{T}, x::StridedMatrix{S}) where {T<:Real, S<:Real} @check_argdims dim(a) == size(x, 1) - invquad!(Array{promote_type(T, S)}(Compat.undef, size(x,2)), a, x) + invquad!(Array{promote_type(T, S)}(undef, size(x,2)), a, x) end