Skip to content

Commit 5521284

Browse files
committed
fix: Remove early return
1 parent 8f6e9f8 commit 5521284

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/pointwise_loglikelihoods.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ end
172172
function _loglikelihood_eltype(dist::Distributions.AbstractMixtureModel, y::AbstractArray)
173173
prob_type = eltype(Distributions.probs(dist))
174174
components = Distributions.components(dist)
175-
return _loglikelihood_eltype(first(components), y)
176175
component_type = if isconcretetype(eltype(components)) # all components are the same type
177176
_loglikelihood_eltype(first(components), y)
178177
else

0 commit comments

Comments
 (0)