Skip to content

Commit

Permalink
Fix docstring of fa.jl
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 Mar 23, 2023
1 parent 0df5822 commit 7400d26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fa.jl
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 7400d26

Please sign in to comment.