How do you request unconstrained parameters be constrained?

With the 2.15.0 behavior, what is the call to input a vector of unconstrained parameters and return a vector of constrained parameters? I had to comment out the unconstrained_to_constrained function at

https://github.com/stan-dev/rstan/blob/feature/refactor-stan-services/rstan/rstan/inst/include/rstan/stan_fit.hpp#L363-L374

because there is no stan::services::util::rng anymore (although hopefully we do need the RNG to do the transformation). Things run, but that function was used to obtain the initial values that were actually used.

Hi Ben,

The function name changed to create_rng.

I’m on my phone, so can’t check if it’ll compile with just changing the function name, but hopefully that’s enough info to check?

If you were asking something else, I didn’t quite understand and hopefully you can try again.

Daniel

Seems to work. Thanks.