From e00760ccbfdbefea1625f5407e94397f2c85e848 Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Mon, 11 Jan 2021 16:43:51 -0700 Subject: Fix array API functions that are named differently or not in the default numpy namespace --- numpy/_array_api/manipulation_functions.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'numpy/_array_api/manipulation_functions.py') 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 -- cgit v1.2.1