Skip to content

Commit f2b5ef5

Browse files
aerubanovricardoV94
andcommitted
Update pymc/distributions/multivariate.py
Co-authored-by: Ricardo Vieira <[email protected]>
1 parent 7837795 commit f2b5ef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/distributions/multivariate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def logp(value, mu, cov):
268268
TensorVariable
269269
"""
270270
quaddist, logdet, ok = quaddist_chol(value, mu, cov)
271-
k = value.shape[-1]
271+
k = value.shape[-1].astype("floatX")
272272
norm = -0.5 * k * np.log(2 * np.pi)
273273
return check_parameters(
274274
norm - 0.5 * quaddist - logdet,

0 commit comments

Comments
 (0)