summaryrefslogtreecommitdiff
path: root/numpy/core/src
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2023-01-10 07:13:38 +0000
committerGitHub <noreply@github.com>2023-01-10 07:13:38 +0000
commitdf1ee34c7faea1cfc2aef0719444b6fa43887b42 (patch)
treed2d0355a1c45ef56beef65aba4ab5d7e780d9ca8 /numpy/core/src
parentcab2570b92f3a33645c2fa587c6a3dad1d773f14 (diff)
parent8beea02ec014613b87ab447e13dd242606429b22 (diff)
downloadnumpy-df1ee34c7faea1cfc2aef0719444b6fa43887b42.tar.gz
Merge pull request #22980 from charris/fix-clang-suggestions
MAINT: Fix some noisy clang suggestions. [ci skip]
Diffstat (limited to 'numpy/core/src')
-rw-r--r--numpy/core/src/npysort/selection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/src/npysort/selection.cpp b/numpy/core/src/npysort/selection.cpp
index ebe188b71..450858df9 100644
--- a/numpy/core/src/npysort/selection.cpp
+++ b/numpy/core/src/npysort/selection.cpp
@@ -423,8 +423,8 @@ static constexpr std::array<arg_map, sizeof...(Tags)>
make_partition_map(npy::taglist<Tags...>)
{
return std::array<arg_map, sizeof...(Tags)>{
- arg_map{Tags::type_value, &introselect_noarg<Tags>,
- &introselect_arg<Tags>}...};
+ arg_map{Tags::type_value, {&introselect_noarg<Tags>},
+ {&introselect_arg<Tags>}}...};
}
struct partition_t {