minaskar / zeus

⚡️ zeus: Lightning Fast MCMC ⚡️
https://zeus-mcmc.readthedocs.io/
GNU General Public License v3.0
225 stars 34 forks source link

Bug: Autocorrelation fails with newest Scipy #30

Open TroyGustke opened 2 years ago

TroyGustke commented 2 years ago

In autocorr.py, scipy is imported as: 'import scipy as sp' The function _autocorr_func_1d uses scipy for the fft function. However, in newer versions of scipy, you must call the fft function in the following way or else an AttributeError will occur: from scipy import fft fft.fft() # how to use the fft function

Please change this soon. Thank you.