You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the example code for fathon.HT I get this numpy warning:
DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
The text was updated successfully, but these errors were encountered:
Hi @stfbnc, fathon 1.3.3.post1 running on Windows 10 x64.
I get this error running any on the sample codes provided, for example running
import numpy as np
import fathon
from fathon import fathonUtils as fu
a = np.random.randn(10000)
b = np.random.randn(10000)
a = fu.toAggregated(a)
b = fu.toAggregated(b)
pyht = fathon.HT(a)
scales = [100, 200, 1000]
mfdfaPolOrd = 1
polOrd = 1
ht = pyht.computeHt(scales, mfdfaPolOrd=mfdfaPolOrd, polOrd=polOrd)
I get
DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before
performing this operation. (Deprecated NumPy 1.25.)
ht = pyht.computeHt(scales, mfdfaPolOrd=mfdfaPolOrd, polOrd=polOrd)
Running the example code for fathon.HT I get this numpy warning:
DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
The text was updated successfully, but these errors were encountered: