Skip to content

Commit 37f8e9b

Browse files
committed
update code to be rid of dep warnings on v0.6
1 parent 0d98b27 commit 37f8e9b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/VarianceComponentModels.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,11 @@ end
140140
141141
Default constructor of [`VarianceComponentVariate`](@ref) type.
142142
"""
143-
function VarianceComponentVariate{M}(
143+
function VarianceComponentVariate(
144144
Y::AbstractVecOrMat,
145145
X::AbstractVecOrMat,
146146
V::NTuple{M, AbstractMatrix}
147-
)
147+
) where {M}
148148

149149
VarianceComponentVariate{eltype(Y), M, typeof(Y), typeof(X), eltype(V)}(Y, X, V)
150150
end
@@ -155,10 +155,10 @@ end
155155
Constructor of a [`VarianceComponentVariate`](@ref) instance from `Y` and `V`
156156
alone. `X` is created empty.
157157
"""
158-
function VarianceComponentVariate{M}(
158+
function VarianceComponentVariate(
159159
Y::AbstractVecOrMat,
160160
V::NTuple{M, AbstractMatrix}
161-
)
161+
) where {M}
162162

163163
X = zeros(eltype(Y), size(Y, 1), 0)
164164
VarianceComponentVariate{eltype(Y), M, typeof(Y), typeof(X), eltype(V)}(Y, X, V)

0 commit comments

Comments
 (0)