Skip to content

Commit c4e1a80

Browse files
AlexAndorrabrandonwillard
authored andcommitted
Fix DM logp
1 parent 43ee68d commit c4e1a80

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

pymc3/distributions/multivariate.py

-2
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,6 @@ def logp(value, n, a):
629629
-------
630630
TensorVariable
631631
"""
632-
n = intX(n)
633-
a = floatX(a)
634632
if value.ndim >= 1:
635633
n = at.shape_padright(n)
636634
if a.ndim > 1:

pymc3/tests/test_distributions.py

-1
Original file line numberDiff line numberDiff line change
@@ -2259,7 +2259,6 @@ def test_batch_multinomial(self):
22592259
sample = dist.eval()
22602260
assert_allclose(sample, np.stack([vals, vals], axis=0))
22612261

2262-
# https://github.com/pymc-devs/pymc3/pull/4508/files
22632262
@pytest.mark.parametrize("n", [2, 3])
22642263
def test_dirichlet_multinomial(self, n):
22652264
self.check_logp(

0 commit comments

Comments
 (0)