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.
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.