Open vltmedia opened 1 year ago
np.float
was a deprecated alias for the builtinfloat
. To avoid this error in e xisting code, usefloat
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.float64
here.
Thanks! I don't know what is better: float
or np.float64
. Maybe the former as suggested by the error message?
Yup no problem! It seems np.float64
get's through it on all of computers we tested on so I'd go with that for compatibility.
Numpy 1.23+ was crashing because of the np.float value. This fixes the possible crash/block using the recommended change.
Error: