We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba04afa commit b99b6ccCopy full SHA for b99b6cc
Project.toml
@@ -1,6 +1,6 @@
1
name = "OnlineStats"
2
uuid = "a15396b6-48d5-5d58-9928-6d29437db91e"
3
-version = "1.7.0"
+version = "1.7.1"
4
5
[deps]
6
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
src/stats/pca.jl
@@ -78,7 +78,7 @@ Base.lastindex(o::CCIPCA) = outdim(o)
78
Base.size(o::CCIPCA) = (indim(o), outdim(o))
79
@inline outdim(o::CCIPCA) = length(o.lambda)
80
@inline indim(o::CCIPCA) = length(o.center)
81
-function _fit!(o::CCIPCA, x::Vector{Float64})
+function _fit!(o::CCIPCA, x::AbstractVector{<:Real})
82
if o.indimdet == false
83
# Now indim is known so we set up accordingly
84
idim = length(x)
0 commit comments