Skip to content

Commit

Permalink
fix outdated type parameters in LocationScale
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-Portal committed Dec 10, 2024
1 parent a3ce1d1 commit ee36164
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 @@ -37,7 +37,7 @@ function (re::RestructureMeanField)(flat::AbstractVector)
return MvLocationScale(location, scale, re.model.dist)
end

function Optimisers.destructure(q::MvLocationScale{<:Diagonal,D,L,E}) where {D,L,E}
function Optimisers.destructure(q::MvLocationScale{<:Diagonal,D,L}) where {D,L}
(; location, scale, dist) = q
flat = vcat(location, diag(scale))
return flat, RestructureMeanField(q)
Expand Down

0 comments on commit ee36164

Please sign in to comment.