@@ -20,9 +20,9 @@ function enlargesubset(initialsubset, data::AbstractMatrix, h::Int)
2020
2121 basicsubset = copy (initialsubset)
2222
23- meanvector = Array {Float64} (undef, p)
23+ meanvector = Vector {Float64} (undef, p)
2424
25- md2sortedindex = Array {Int} (undef, n)
25+ md2sortedindex = Vector {Int} (undef, n)
2626
2727 while length (basicsubset) < h
2828 applyColumns! (meanvector, mean, data[basicsubset, :])
@@ -55,14 +55,14 @@ function robcov(data::Matrix; alpha=0.01, estimator=:mve)
5555
5656 maxiter = minimum ([p * 500 , 3000 ])
5757
58- initialsubset = Array {Int} (undef, k)
59- bestinitialsubset = Array {Int} (undef, k)
58+ initialsubset = Vector {Int} (undef, k)
59+ bestinitialsubset = Vector {Int} (undef, k)
6060
61- hsubset = Array {Int} (undef, h)
62- besthsubset = Array {Int} (undef, h)
61+ hsubset = Vector {Int} (undef, h)
62+ besthsubset = Vector {Int} (undef, h)
6363
6464
65- meanvector = Array {Float64} (undef, p)
65+ meanvector = Vector {Float64} (undef, p)
6666 fill! (meanvector, 0.0 )
6767
6868
0 commit comments