Skip to content

Commit

Permalink
Merge pull request #139 from oscardssmith/patch-1
Browse files Browse the repository at this point in the history
remove last `Vararg{<:...`
  • Loading branch information
mcabbott authored Apr 27, 2023
2 parents 039c677 + b98fcec commit b4dd6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/statsbase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ estimators = [
:AnalyticalNonlinearShrinkage,
]
for estimator in estimators
@eval function Statistics.cov(ce::$estimator, A::KeyedMatrix, wv::Vararg{<:AbstractWeights}; dims=1, kwargs...)
@eval function Statistics.cov(ce::$estimator, A::KeyedMatrix, wv::Vararg{AbstractWeights}; dims=1, kwargs...)
d = NamedDims.dim(A, dims)
data = cov(ce, keyless_unname(A), wv...; dims=d, kwargs...)
L1 = dimnames(A, 3 - d)
Expand Down

1 comment on commit b4dd6e4

@staticfloat
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mcabbot can we get a release containing this change? We get a lot of warnings in our precompile logs without this. :)

Please sign in to comment.