Closed riddell-stan closed 2 years ago
Minimal example:
import stan stan_code = """ parameters { real<upper=0.0> y; } model{ print(y); target += log(y); } """ posterior = stan.build(stan_code, data={}) fit = posterior.sample(num_chains=1, num_samples=1)
See forum discussion https://discourse.mc-stan.org/t/debugging-pystan3/27280
When addressing this, it might also be a good idea to see if the verbosity of the error message (on the pystan side) could be reduced.
Minimal example:
See forum discussion https://discourse.mc-stan.org/t/debugging-pystan3/27280
When addressing this, it might also be a good idea to see if the verbosity of the error message (on the pystan side) could be reduced.