[NumPy-Tickets] [NumPy] #1012: dtype attributes change after an arithmetic operation involving a scalar

NumPy Trac numpy-tickets@scipy....
Tue May 25 00:40:13 CDT 2010


#1012: dtype attributes change after an arithmetic operation involving a scalar
------------------------+---------------------------------------------------
 Reporter:  hana        |       Owner:  somebody      
     Type:  defect      |      Status:  needs_decision
 Priority:  normal      |   Milestone:                
Component:  numpy.core  |     Version:  none          
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by charris):

 I think ndimage should be fixed to handle both cases since I think the
 actual precision of the types in this case are identical. That said, I
 think the type promotion code should be made symmetric in the arguments so
 that the common type of a,b is the same as the common type of b,a. This
 needs a bit of work, however.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1012#comment:3>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list