Skip to content

Commit 51ee020

Browse files
Change 2d to 1d where appropriate in tests
1 parent 601b0f3 commit 51ee020

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc3/tests/test_distributions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ def test_multinomial_vec(self):
579579
model_many.fastlogp({'m': vals}),
580580
decimal=4)
581581

582-
def test_multinomial_vec_2d_n(self):
582+
def test_multinomial_vec_1d_n(self):
583583
vals = np.array([[2,4,4], [4,3,4]])
584584
p = np.array([0.2, 0.3, 0.5])
585585
ns = np.array([10, 11])
@@ -591,7 +591,7 @@ def test_multinomial_vec_2d_n(self):
591591
model.fastlogp({'m': vals}),
592592
decimal=4)
593593

594-
def test_multinomial_vec_2d_n_2d_p(self):
594+
def test_multinomial_vec_1d_n_2d_p(self):
595595
vals = np.array([[2,4,4], [4,3,4]])
596596
ps = np.array([[0.2, 0.3, 0.5],
597597
[0.9, 0.09, 0.01]])

0 commit comments

Comments
 (0)