diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2018-09-01 14:13:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-01 14:13:37 -0500 |
commit | 1628df056be4a9cde7ed968ce76e00cc41733d68 (patch) | |
tree | 222e5000a3f564ffbdfbcee95f5b795fe93e182c /numpy/core/umath.py | |
parent | ddc0afc9de06bd21ca6facd60f2abe1d8ff5052a (diff) | |
parent | 508c6e6cceefa343cf5c59a527eea85a6922e009 (diff) | |
download | numpy-1628df056be4a9cde7ed968ce76e00cc41733d68.tar.gz |
Merge pull request #11862 from mhvk/add-back-ones-like-ufunc
BUG: Re-add _ones_like to numpy.core.umath.
Diffstat (limited to 'numpy/core/umath.py')
-rw-r--r-- | numpy/core/umath.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/core/umath.py b/numpy/core/umath.py index efa213b1a..90f5ed37c 100644 --- a/numpy/core/umath.py +++ b/numpy/core/umath.py @@ -7,7 +7,7 @@ by importing from the extension module. from . import _multiarray_umath from numpy.core._multiarray_umath import * -from numpy.core._multiarray_umath import _add_newdoc_ufunc, _arg +from numpy.core._multiarray_umath import _add_newdoc_ufunc, _arg, _ones_like __all__ = ['ERR_CALL', 'ERR_DEFAULT', 'ERR_IGNORE', 'ERR_LOG', 'ERR_PRINT', 'ERR_RAISE', 'ERR_WARN', 'FLOATING_POINT_SUPPORT', 'FPE_DIVIDEBYZERO', @@ -29,4 +29,3 @@ __all__ = ['ERR_CALL', 'ERR_DEFAULT', 'ERR_IGNORE', 'ERR_LOG', 'ERR_PRINT', 'power', 'rad2deg', 'radians', 'reciprocal', 'remainder', 'right_shift', 'rint', 'seterrobj', 'sign', 'signbit', 'sin', 'sinh', 'spacing', 'sqrt', 'square', 'subtract', 'tan', 'tanh', 'true_divide', 'trunc'] - |