[Numpy-tickets] [NumPy] #518: a.var(), a.std(), and a.mean() return incorrect type when no axis specified

NumPy numpy-tickets@scipy....
Wed May 16 08:17:52 CDT 2007


#518: a.var(), a.std(), and a.mean() return incorrect type when no axis specified
--------------------------------------+-------------------------------------
 Reporter:  charris                   |        Owner:  somebody     
     Type:  defect                    |       Status:  reopened     
 Priority:  normal                    |    Milestone:  1.0.3 Release
Component:  numpy.core                |      Version:  none         
 Severity:  normal                    |   Resolution:               
 Keywords:  return type var std mean  |  
--------------------------------------+-------------------------------------
Changes (by charris):

  * status:  closed => reopened
  * resolution:  wontfix =>

Comment:

 Travis, they return *different* types depending on whether an axis is
 specified of not. Specifying an axis should have no effect on the type
 returned. The behaviour is inconsistent.

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


More information about the Numpy-tickets mailing list