[NumPy-Tickets] [NumPy] #2033: a ** 2.0 has incorrect type

NumPy Trac numpy-tickets@scipy....
Sat Feb 11 14:09:16 CST 2012

#2033: a ** 2.0 has incorrect type
 Reporter:  kasal       |       Owner:  oliphant
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:  1.7.0   
Component:  numpy.core  |     Version:  devel   
 Keywords:              |  
Changes (by oliphant):

  * owner:  somebody => oliphant


 This is the result of fast_scalar_power which special cases the 2.0 case
 to multiply by itself (which in this case keeps the dtype what it used to
 be) instead of upgrading it.

 This should be fixed.


Ticket URL: <http://projects.scipy.org/numpy/ticket/2033#comment:2>
NumPy <http://projects.scipy.org/numpy>
My example project

More information about the NumPy-Tickets mailing list