Closed mackcmillion closed 1 year ago
@mackcmillion Thanks for the note. Are you able to provide a PR?
I've never contributed to an open source project before, but I'm sure I could figure it out. However, I'll be out for Christmas the next two weeks, so I could only have a look at it in two weeks time.
fixed in new release
The following code runs fine for
museval==0.4.0
andnumpy==1.23.5
, but crashes withnumpy==1.24.0
:The corresponding stacktrace is the following:
Apparently,
np.float
has been removed in1.24.0
as it has been deprecated since1.20.0
.Considering the deprecation message that appears in
1.23.5
a fix would be as easy as replacing all occurrences ofnp.float
with the Python builtinfloat
: