diff options
| -rw-r--r-- | INSTALL.rst.txt | 5 | ||||
| -rw-r--r-- | numpy/lib/function_base.py | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/INSTALL.rst.txt b/INSTALL.rst.txt index 8b135e309..6f96daabf 100644 --- a/INSTALL.rst.txt +++ b/INSTALL.rst.txt @@ -61,6 +61,11 @@ To perform an inplace build that can be run from the source folder run:: python setup.py build_ext --inplace -j 4 +Note that the ``python`` command here is the system default Python, generally +python 2, the ``python3`` command may be needed to install on python 3. +See `Requirements for Installing Packages <https://packaging.python.org/tutorials/installing-packages/>`_ +for more details. + The number of build jobs can also be specified via the environment variable NPY_NUM_BUILD_JOBS. diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index 504280cef..e61122107 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -839,7 +839,7 @@ def gradient(f, *varargs, **kwargs): \\left\\{ \\begin{array}{r} \\alpha+\\beta+\\gamma=0 \\\\ - -\\beta h_{d}+\\gamma h_{s}=1 \\\\ + \\beta h_{d}-\\gamma h_{s}=1 \\\\ \\beta h_{d}^{2}+\\gamma h_{s}^{2}=0 \\end{array} \\right. |
