You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the proposal object stores a shape parameter which is dimension dependent however, once the proposal is used to sample a chain with shape adaptation for a certain dimension, a subsequent attempt to use the same proposal with a different dimension gives a cryptic error -
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'drop': non-conformable arguments
which arises when attempting to evaluate product of vector with shape parameter from previous run (which is of incompatible dimension).
We may not want to support this use case of reusing the same proposal objects for different dimension, but ideally we should give a more informative error message in these situations.
The text was updated successfully, but these errors were encountered:
Some target distributions and so proposals can be defined in a dimension independent way, for example
As the proposal object stores a shape parameter which is dimension dependent however, once the proposal is used to sample a chain with shape adaptation for a certain dimension, a subsequent attempt to use the same proposal with a different dimension gives a cryptic error -
which arises when attempting to evaluate product of vector with shape parameter from previous run (which is of incompatible dimension).
We may not want to support this use case of reusing the same proposal objects for different dimension, but ideally we should give a more informative error message in these situations.
The text was updated successfully, but these errors were encountered: