When MontePython computes the histograms, it crashes with the following type error for numpy 1.12.1 (I think that it will happen with any version of 1.12):
TypeError: 'float' object cannot be interpreted as an index
The problem is that np.max does not longer accept floats for the axis argument.
When MontePython computes the histograms, it crashes with the following type error for numpy 1.12.1 (I think that it will happen with any version of 1.12):
TypeError: 'float' object cannot be interpreted as an index
The problem is that np.max does not longer accept floats for the axis argument.
Here is the patch I've proposed to montepython_zuma https://github.com/ardok-m/montepython_zuma/commit/a69f5bc94cdb237c57ef4789b76b6f375368e40f :
0001-fixed-TypeError-np.max-for-numpy-1.12.patch.txt