[Numpy-tickets] [NumPy] #518: a.var(), a.std(), and a.mean() return incorrect type when no axis specified
NumPy
numpy-tickets@scipy....
Mon May 21 04:08:24 CDT 2007
#518: a.var(), a.std(), and a.mean() return incorrect type when no axis specified
--------------------------------------+-------------------------------------
Reporter: charris | Owner: somebody
Type: defect | Status: closed
Priority: normal | Milestone: 1.0.3 Release
Component: numpy.core | Version: none
Severity: normal | Resolution: wontfix
Keywords: return type var std mean |
--------------------------------------+-------------------------------------
Comment (by stefan):
While I understand Travis' reasoning, this is pretty bizarre from a user's
point of view. Would it be difficult to divide the result (when axis is
specified) by a Python double of 1, to ensure the same output type? If
so, we should at least update the documentation for this not-so-special
special case.
--
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/518#comment:6>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list