ert
ert copied to clipboard
Be more precise when type hinting numpy floats
Numpy 2 deprecates the np.float_
alias for np.float64
, and since we often use np.float32
we should type hint better to indicate when the variables/return types might be np.float32
vs np.float64
.