Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-Portal committed Dec 9, 2024
1 parent a11e5ce commit a3ce1d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/families/location_scale_low_rank.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ function Distributions.rand(q::MvLocationScaleLowRank)
return scale_diag .* u_diag + scale_factors * u_fact + location
end

function Distributions.rand(
rng::AbstractRNG, q::MvLocationScaleLowRank, num_samples::Int
)
function Distributions.rand(rng::AbstractRNG, q::MvLocationScaleLowRank, num_samples::Int)
(; location, scale_diag, scale_factors, dist) = q
n_dims = length(location)
n_factors = size(scale_factors, 2)
Expand Down

0 comments on commit a3ce1d1

Please sign in to comment.