montepython_public icon indicating copy to clipboard operation
montepython_public copied to clipboard

Required Numpy version too low

Open aurelienbl opened this issue 8 years ago • 0 comments

Hello,

I think you might want change the prerequisite version of numpy (currently 1.4.1 on readthedoc). I was using 1.7.1, and my numpy.linalg.det had issue with the line 472 of montepython/likelihoods/euclid_lensing/init.py

det_theory[:] = np.linalg.det(Cov_theory[:, :, :])

Indeed my 1.7.1 version of det wanted a 2rank matrix, and could not handled this rank3 matrix. This issue was solved by upgrading to numpy 1.11.1

I hope this helps! Aurélien

aurelienbl avatar Jun 03 '16 09:06 aurelienbl