Closed nsiccha closed 7 months ago
This is not a Stan bug. The boost::ecuyer1988 RNG has this behavior all on its own: https://godbolt.org/z/acKhd41Pj
After https://github.com/stan-dev/stan/issues/3167 last year it was recommended we stop using this generator: https://github.com/boostorg/random/issues/92
Makes sense. I also had a very quick look at cmdstan's cpp, but nothing there jumped out to me as the source of this behavior :)
I opened https://github.com/stan-dev/stan/issues/3256, so I think we can close this one now
Reproducible Steps:
In e.g.
~/.cmdstan/cmdstan-2.34.0/examples/bernoulli
:Current Output:
Expected Output:
I'd expect the draws to be different. The cmdstan help (e.g.
bernoulli help-all
) says 0 is a valid input:Additional Information:
Same behavior happens for v2.33.1
Current Version:
v2.34.0