montepython_public icon indicating copy to clipboard operation
montepython_public copied to clipboard

Possible bug in add_derived.py

Open montanari opened this issue 9 years ago • 0 comments
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

montanari avatar Nov 08 '16 15:11 montanari