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
In order to see it, one needs to set np.seterr(all='raise'). I get:
multiarray.copyto(a, fill_value, casting='unsafe')
File "<__array_function__ internals>", line 200, in copyto
FloatingPointError: invalid value encountered in cast
Without raising warnings as errors, one just gets the warning, with no stack trace and no way to see where it is coming from.
<__array_function__ internals>:200: RuntimeWarning: invalid value encountered in cast
I suspect this is caused by having an int type which is being filled with NaN, that is of float type?
The text was updated successfully, but these errors were encountered:
I encountered a cast Warning and tracked it down to this line:
openPMD-viewer/openpmd_viewer/openpmd_timeseries/data_reader/io_reader/utilities.py
Line 70 in b36dc43
In order to see it, one needs to set
np.seterr(all='raise')
. I get:Without raising warnings as errors, one just gets the warning, with no stack trace and no way to see where it is coming from.
I suspect this is caused by having an int type which is being filled with NaN, that is of float type?
The text was updated successfully, but these errors were encountered: