diff --git a/MCcubed/VERSION.py b/MCcubed/VERSION.py index fd38a59..77aecd4 100644 --- a/MCcubed/VERSION.py +++ b/MCcubed/VERSION.py @@ -4,4 +4,4 @@ # MC3 Version: MC3_VER = 1 # Major version MC3_MIN = 3 # Minor version -MC3_REV = 1 # Revision +MC3_REV = 2 # Revision diff --git a/MCcubed/mc/mcmc.py b/MCcubed/mc/mcmc.py index 44b71ad..19a15ab 100755 --- a/MCcubed/mc/mcmc.py +++ b/MCcubed/mc/mcmc.py @@ -213,6 +213,10 @@ def mcmc(data, uncert=None, func=None, indparams=[], "the number of iterations per chain ({:d}).". format(burnin, chainsize), log) + # Ensure that hsize is > nchains + if walk=='snooker' and hsize < nchains: + hsize = nchains + 1 + # Intermediate steps to run GR test and print progress report: intsteps = chainsize / 10