A user reported that in model code like:
for(i in 1:nx) {
x[i] ~ dexp(r * lambda[i])
}
where lambda is right-hand-side only, if nx==1 and lambda is provided by constants, we get an error about dimension mismatch. When lambda is provided as data or inits, it works fine.
I don't remember if this has come up before. I'm marking it as a bug, but it could be resolved by documentation or error-trapping if it is too much of a pain to handle.
A user reported that in model code like:
where
lambdais right-hand-side only, ifnx==1andlambdais provided by constants, we get an error about dimension mismatch. Whenlambdais provided as data or inits, it works fine.I don't remember if this has come up before. I'm marking it as a bug, but it could be resolved by documentation or error-trapping if it is too much of a pain to handle.