montepython_public
montepython_public copied to clipboard
Possible bug in add_derived.py
trafficstars
Hi,
I noticed the following loop in add_derived.extend_chain:
for name in derived.iterkeys():
data.mcmc_parameters[elem]['current'] /= \
data.mcmc_parameters[elem]['scale']
It looks like [elem] should be replaced by [name].
Please note that since I was actually modifying that part, I didn't test it.
Cheers, Francesco