Closed zjans closed 1 year ago
Thanks for pointing this out. Having checked this is the only instance of this, and have updated following the NumPy advice to:
N = int(np.ceil(np.log2(maxDim - 1)))
which seems the safest to me for backwards compatibility.
I'll create a new release on PyPI tomorrow.
Version 1.1.2 now on PyPi
Hi,
running the model with NumPy version >1.20 leads to the following Error
This can be easily fixed by changing line 534 in nlmpy.py from:
N = np.int(np.ceil(np.log2(maxDim - 1)))
to:
N = np.ceil(np.log2(maxDim - 1)).astype(int)