make nondegenerate test more accurate
@@ -56,7 +56,7 @@ def distributions(draw, alphabets=(2, 2, 2), nondegenerate=False):
if nondegenerate:
axes = set(range(len(alphabets)))
for axis, _ in enumerate(alphabets):
- assume(np.sum(pmf.sum(axis=tuple(axes-set([axis]))) > 0) > 1)
+ assume(np.sum(pmf.sum(axis=tuple(axes-set([axis]))) > 1e-6) > 1)
pmf /= pmf.sum()
