Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7f2226a

Browse files
TEST: revert to avoid compiler warnings
1 parentc9b08dc commit7f2226a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎numpy/_core/src/umath/override.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,22 +259,22 @@ PyUFunc_CheckOverride(PyUFuncObject *ufunc, char *method,
259259
}
260260
/* ufunc.reduce */
261261
elseif (strcmp(method,"reduce")==0) {
262-
staticconstchar*constkeywords[]= {
262+
staticconstchar*keywords[]= {
263263
NULL,"axis","dtype",NULL,"keepdims",
264264
"initial","where"};
265265
status=copy_positional_args_to_kwargs(keywords,
266266
args,len_args,normal_kwds);
267267
}
268268
/* ufunc.accumulate */
269269
elseif (strcmp(method,"accumulate")==0) {
270-
staticconstchar*constkeywords[]= {
270+
staticconstchar*keywords[]= {
271271
NULL,"axis","dtype",NULL};
272272
status=copy_positional_args_to_kwargs(keywords,
273273
args,len_args,normal_kwds);
274274
}
275275
/* ufunc.reduceat */
276276
elseif (strcmp(method,"reduceat")==0) {
277-
staticconstchar*constkeywords[]= {
277+
staticconstchar*keywords[]= {
278278
NULL,NULL,"axis","dtype",NULL};
279279
status=copy_positional_args_to_kwargs(keywords,
280280
args,len_args,normal_kwds);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp