Skip to content

Commit

Permalink
fix signature for projection of LocationScale families
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-Portal committed Jun 12, 2024
1 parent a54c7fc commit 538bafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/families/location_scale.jl
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function MeanFieldGaussian(
end

function update_variational_params!(
::MvLocationScale, opt_st, params, restructure, grad
::Type{<:MvLocationScale}, opt_st, params, restructure, grad
)
opt_st, params = Optimisers.update!(opt_st, params, grad)
q = restructure(params)
Expand Down

0 comments on commit 538bafe

Please sign in to comment.