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
The accumulator used in the mean algorithm should not be single precision by default. This default can cause unexpected results. Please see the following example:
Original ticket http://projects.scipy.org/numpy/ticket/435 on 2007-01-24 by @chanley, assigned to unknown.
The accumulator used in the mean algorithm should not be single precision by default. This default can cause unexpected results. Please see the following example:
However, if you recast the array as float64 you get the correct result:
I believe that double precision would be a more appropriate default type for the accumulator.
The text was updated successfully, but these errors were encountered: