From 811c90567c136bc77cc1343f3ec61b4534d22be5 Mon Sep 17 00:00:00 2001 From: Frederic Bastien Date: Wed, 12 Oct 2016 13:21:31 -0400 Subject: DOC: Small c api doc fix for PyArray_Max. [ci skip] --- doc/source/reference/c-api.array.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/source/reference/c-api.array.rst') diff --git a/doc/source/reference/c-api.array.rst b/doc/source/reference/c-api.array.rst index 45de1896c..12841a312 100644 --- a/doc/source/reference/c-api.array.rst +++ b/doc/source/reference/c-api.array.rst @@ -1921,6 +1921,7 @@ Calculation Equivalent to :meth:`ndarray.max` (*self*, *axis*). Return the largest element of *self* along the given *axis*. + If it return only 1 element, return a numpy scalar, not an ndarray. .. c:function:: PyObject* PyArray_Min(PyArrayObject* self, int axis, PyArrayObject* out) @@ -2098,7 +2099,7 @@ Array Functions second-to-last dimension of *obj2*. For 2-d arrays this is a matrix-product. Neither array is conjugated. -.. c:function:: PyObject* PyArray_MatrixProduct2(PyObject* obj1, PyObject* obj, PyObject* out) +.. c:function:: PyObject* PyArray_MatrixProduct2(PyObject* obj1, PyObject* obj, PyArrayObject* out) .. versionadded:: 1.6 -- cgit v1.2.1