Skip to content

Commit

Permalink
Fix docstring of fa.jl (#215)
Browse files Browse the repository at this point in the history
Fixed a mismatch in the type declaration of the docstring and code in size and mean methods.
  • Loading branch information
moritzketzer committed Apr 1, 2024
1 parent cade202 commit 4ca1cb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fa.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ struct FactorAnalysis{T<:Real} <: LatentVariableDimensionalityReduction
end

"""
size(M::PPCA)
size(M::FactorAnalysis)
Returns a tuple with values of the input dimension ``d``, *i.e* the dimension of
the observation space, and the output dimension ``p``, *i.e* the dimension of
Expand All @@ -19,7 +19,7 @@ the principal subspace.
size(M::FactorAnalysis) = size(M.W)

"""
mean(M::PPCA)
mean(M::FactorAnalysis)
Get the mean vector (of length ``d``).
"""
Expand Down

0 comments on commit 4ca1cb8

Please sign in to comment.