Skip to content

Commit bd4470f

Browse files
Apply suggestions from code review
Co-authored-by: Ricardo Vieira <[email protected]>
1 parent 4ce1294 commit bd4470f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/distributions/multivariate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def quaddist_parse(value, mu, cov, mat_type="cov"):
116116
# Use this when Theano#5908 is released.
117117
# return MvNormalLogp()(self.cov, delta)
118118
chol_cov = cholesky(cov)
119-
if mat_type == "cov" or mat_type != "tau":
119+
if mat_type != "tau":
120120
dist, logdet, ok = quaddist_chol(delta, chol_cov)
121121
else:
122122
dist, logdet, ok = quaddist_tau(delta, chol_cov)

0 commit comments

Comments
 (0)