autoRIFT
autoRIFT copied to clipboard
Deprecated numpy functions
Since version 1.24, numpy has deprecated the aliases np.bool
and np.int
, which are still used at numerous occasions in autorift, leaving the user with an AttributeError.
It can be easily fixed by replacing all occurrence of np.bool
with bool
and np.int
with int
.
Also np.asscalar
has also been removed in version 1.23. I think it can be safely replaced by calling int()
instead.