You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from pypolyagamma import PyPolyaGamma
pg = PyPolyaGamma()
b,c = -2, -1
values=[pg.pgdraw(b, c) for i in range(10000)]
assert all([x==0 for x in values])
The sampler returns all 0's, although one would expect it to raise an error.
I would have opened a PR myself, but I do not know how to code in C.
The text was updated successfully, but these errors were encountered:
For example:
The sampler returns all 0's, although one would expect it to raise an error.
I would have opened a PR myself, but I do not know how to code in C.
The text was updated successfully, but these errors were encountered: