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
{{ message }}
Repository navigation
Invalid promotion of numpy scalar to float64 (Trac #346) #944
This is not necessarily true. Array scalars are not considered special. They are just scalars. When two scalars are involved in an operation, the normal rules of coercion apply. Different rules would require a change to NumPy that needs to wait until 1.1
Activity
numpy-gitbot commentedon Oct 19, 2012
@teoliphant wrote on 2006-10-16
This is not necessarily true. Array scalars are not considered special. They are just scalars. When two scalars are involved in an operation, the normal rules of coercion apply. Different rules would require a change to NumPy that needs to wait until 1.1
This is intended behavior.