diff options
| author | Aaron Meurer <asmeurer@gmail.com> | 2021-01-11 16:43:51 -0700 |
|---|---|---|
| committer | Aaron Meurer <asmeurer@gmail.com> | 2021-01-11 17:03:23 -0700 |
| commit | e00760ccbfdbefea1625f5407e94397f2c85e848 (patch) | |
| tree | dc70e101c64ac1a9d278107b2dd6d37efcf3aa7f /numpy/_array_api/manipulation_functions.py | |
| parent | 9934cf3abcd6ba9438c340042e94f8343e3f3d13 (diff) | |
| download | numpy-e00760ccbfdbefea1625f5407e94397f2c85e848.tar.gz | |
Fix array API functions that are named differently or not in the default numpy namespace
Diffstat (limited to 'numpy/_array_api/manipulation_functions.py')
| -rw-r--r-- | numpy/_array_api/manipulation_functions.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/numpy/_array_api/manipulation_functions.py b/numpy/_array_api/manipulation_functions.py index 1934e8e4e..80ca3381e 100644 --- a/numpy/_array_api/manipulation_functions.py +++ b/numpy/_array_api/manipulation_functions.py @@ -1,6 +1,7 @@ def concat(arrays, /, *, axis=0): - from .. import concat - return concat(arrays, axis=axis) + # Note: the function name is different here + from .. import concatenate + return concatenate(arrays, axis=axis) def expand_dims(x, axis, /): from .. import expand_dims |
