-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: HalfCauchyLogPrior.sample #1192
Comments
@MichaelClerx @chonlei @ben18785 @martinjrobins The problem didn't show up because the method was tested with GaussianLogPriors which already return samples of dimension 2, i.e. shape (n,1). I guess the question would be whether we want just all sample methods of log_priors to return 2 dimensional arrays irrespective of the number of parameters (i.e. we leave the ComposedLogPrior as it is), or we adapt the ComposedLogPrior. |
I thought that's the intention. We've been treating parameters as "parameter vectors" elsewhere -- even if it was 1 dimensional parameter, we would need it to be an array of 1 element -- e.g. in OptimisationController or MCMCController (if I remember correctly). |
|
I suppose it's just a one line fix?
to
|
Fixed by #1196 |
Something is off with sampling from a ComposedLogPrior:
Throws the following error
The text was updated successfully, but these errors were encountered: