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

Appearance settings

Commit 62ec719

Browse filesBrowse files
TEST: revert to avoid compiler warnings
1 parent 2b3109d commit 62ec719
Copy full SHA for 62ec719

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

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

Copy file name to clipboardExpand all lines: numpy/_core/src/umath/override.c
+3-3Lines 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
else if (strcmp(method, "reduce") == 0) {
262-
static const char *const keywords[] = {
262+
static const char *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
else if (strcmp(method, "accumulate") == 0) {
270-
static const char *const keywords[] = {
270+
static const char *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
else if (strcmp(method, "reduceat") == 0) {
277-
static const char *const keywords[] = {
277+
static const char *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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.