Skip to content

Commit

Permalink
coef! fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
palday committed Mar 19, 2024
1 parent df55dab commit 75a4b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linearmixedmodel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ end

StatsAPI.coef(m::LinearMixedModel{T}) where {T} = coef!(Vector{T}(undef, length(m.feterm.piv)), m)

function coef!(v::Vector{T}, m::LinearMixedModel{T}) where {T}
function coef!(v::AbstractVector{Tv}, m::MixedModel{T}) where {Tv,T}
piv = m.feterm.piv
return invpermute!(fixef!(v, m), piv)
end
Expand Down

0 comments on commit 75a4b0c

Please sign in to comment.