Skip to content
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

Fix a bug if using priors #102

Open
wants to merge 1 commit into
base: 2.2
Choose a base branch
from
Open

Fix a bug if using priors #102

wants to merge 1 commit into from

Conversation

mpauly
Copy link

@mpauly mpauly commented Sep 5, 2017

Hi, this should fix a bug when using priors - if I read the code for parsing configuration files correctly I am supposed to use a gaussian prior like this:
data.parameters['someparameter'] = [ 60, None, None, 5, 1, 'cosmo', 'gaussian', 60, 5]
However this fails as the parameter type currently is read from the last entry of the above array. The following works but seems overly verbose:
data.parameters['someparameter'] = [ 60, None, None, 5, 1, 'cosmo', 'gaussian', 60, 5, 'cosmo'] .
Please let me know in case this is intended behavior for some reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant