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
When the input array is a real array, but the dtype argument is given to be complex, the nanstd and nanvar functions will give a ComplexWarning, even though the complex part is always zero. This is due to the line:
np.subtract(arr, avg, out=arr, casting='unsafe')
where arr is the original type, but avg the new (complex) type, which gives the warning.
The text was updated successfully, but these errors were encountered:
When the input array is a real array, but the dtype argument is given to be complex, the nanstd and nanvar functions will give a ComplexWarning, even though the complex part is always zero. This is due to the line:
where
arr
is the original type, butavg
the new (complex) type, which gives the warning.The text was updated successfully, but these errors were encountered: