Fix squigglepy
Corrects the "ValueError: You cannot nest discrete distributions within mixture distributions" Runs in 4.6s on my laptop (M2 chip)
This commit is contained in:
parent
3dac5f35cd
commit
05566faf75
|
@ -5,8 +5,8 @@ p_a = 0.8
|
||||||
p_b = 0.5
|
p_b = 0.5
|
||||||
p_c = p_a * p_b
|
p_c = p_a * p_b
|
||||||
|
|
||||||
dist_0 = sq.discrete({0: 1})
|
dist_0 = 0
|
||||||
dist_1 = sq.discrete({1: 1})
|
dist_1 = 1
|
||||||
dist_some = sq.to(1, 3)
|
dist_some = sq.to(1, 3)
|
||||||
dist_many = sq.to(2, 10)
|
dist_many = sq.to(2, 10)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user