[Numpy-tickets] [NumPy] #346: Invalid promotion of numpy scalar to float64

NumPy numpy-tickets at scipy.net
Mon Oct 16 12:48:39 CDT 2006


#346: Invalid promotion of numpy scalar to float64
---------------------+------------------------------------------------------
 Reporter:  charris  |        Owner:  somebody
     Type:  defect   |       Status:  closed  
 Priority:  normal   |    Milestone:          
Component:  Other    |      Version:          
 Severity:  normal   |   Resolution:  invalid 
 Keywords:           |  
---------------------+------------------------------------------------------
Changes (by oliphant):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 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.

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/346#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list