Closed avehtari closed 1 week ago
When using the new CmdStanR to provide inits, I happen to have a case where the initial values have finite lp__, but non-finite gradient. The message coming from stan https://github.com/stan-dev/stan/blob/c746ad2f9455d5abc15551e07e7273e1bb3c97ac/src/stan/services/util/initialize.hpp#L217 says "Initialization between (-2, 2) failed after 100 attempts. " which is confusing as fixed init values were used.
stan
When using the new CmdStanR to provide inits, I happen to have a case where the initial values have finite lp__, but non-finite gradient. The message coming from
stan
https://github.com/stan-dev/stan/blob/c746ad2f9455d5abc15551e07e7273e1bb3c97ac/src/stan/services/util/initialize.hpp#L217 says "Initialization between (-2, 2) failed after 100 attempts. " which is confusing as fixed init values were used.