Skip to content

Commit cc8d716

Browse files
committed
remove irrelevant code
1 parent f4b5068 commit cc8d716

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/multivariate.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,6 @@ function _logpdf(d::TuringDenseMvNormal, x::AbstractMatrix)
164164
return -((size(x, 1) * log(2π) + logdet(d.C)) .+ vec(sum(abs2.(zygote_ldiv(d.C.U', x .- d.m)), dims=1))) ./ 2
165165
end
166166

167-
for T in (:TrackedVector, :TrackedMatrix)
168-
@eval function Distributions.logpdf(d::MvNormal{<:Any, <:PDMats.ScalMat}, x::$T)
169-
logpdf(TuringScalMvNormal(d.μ, d.Σ.value), x)
170-
end
171-
end
172-
173167
import StatsBase: entropy
174168
function entropy(d::TuringDiagMvNormal)
175169
T = eltype(d.σ)

0 commit comments

Comments
 (0)