Skip to content

Commit b99b6cc

Browse files
committed
loosen _fit! method for CCIPCA, bump version
1 parent ba04afa commit b99b6cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "OnlineStats"
22
uuid = "a15396b6-48d5-5d58-9928-6d29437db91e"
3-
version = "1.7.0"
3+
version = "1.7.1"
44

55
[deps]
66
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"

src/stats/pca.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Base.lastindex(o::CCIPCA) = outdim(o)
7878
Base.size(o::CCIPCA) = (indim(o), outdim(o))
7979
@inline outdim(o::CCIPCA) = length(o.lambda)
8080
@inline indim(o::CCIPCA) = length(o.center)
81-
function _fit!(o::CCIPCA, x::Vector{Float64})
81+
function _fit!(o::CCIPCA, x::AbstractVector{<:Real})
8282
if o.indimdet == false
8383
# Now indim is known so we set up accordingly
8484
idim = length(x)

0 commit comments

Comments
 (0)