Skip to content

Commit

Permalink
remove recursive call in mve and mcd
Browse files Browse the repository at this point in the history
  • Loading branch information
jbytecode committed May 24, 2024
1 parent 4cefb5a commit 645d791
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function mve(data::DataFrame; alpha = 0.01)
end

function mve(data::AbstractMatrix{Float64}; alpha = 0.01)
return mve(data, alpha = alpha)
robcov(data, alpha = alpha, estimator = :mve)
end


Expand Down Expand Up @@ -193,7 +193,7 @@ function mcd(data::DataFrame; alpha = 0.01)
end

function mcd(data::AbstractMatrix{Float64}; alpha = 0.01)
return mcd(data, alpha = alpha)
robcov(data, alpha = alpha, estimator = :mcd)
end


Expand Down

0 comments on commit 645d791

Please sign in to comment.