File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -82,15 +82,17 @@ def test_issue_4499(self):
8282 with pm .Model (check_bounds = False ) as m :
8383 x = pm .DiracDelta ("x" , 1 , size = 10 )
8484 npt .assert_almost_equal (m .compile_logp ()({"x" : np .ones (10 )}), 0 * 10 )
85+
8586 def test_issue_7548 (self ):
86- #Test for bug in Multinomial, it should raise when trying to sample a Multinomial variable
87+ # Test for bug in Multinomial, it should raise when trying to sample a Multinomial variable
8788 with pm .Model () as model :
8889 p = [0.3 , 0.4 , 0.3 ]
8990 n = 10
9091 x = pm .Multinomial ("x" , n = n , p = p )
9192 with pytest .raises (ValueError , match = "Latent Multinomial variables are not supported" ):
9293 pm .sample (draws = 100 , chains = 1 )
9394
95+
9496def test_all_distributions_have_support_points ():
9597 import pymc .distributions as dist_module
9698
You can’t perform that action at this time.
0 commit comments