Skip to content

Commit e23b495

Browse files
author
fengluo
committed
add missing macro undef
1 parent f80001e commit e23b495

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpy/_core/src/umath/string_fastsearch.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
algorithm, which has worst-case O(n) runtime and best-case O(n/k).
3030
Also compute a table of shifts to achieve O(n/k) in more cases,
3131
and often (data dependent) deduce larger shifts than pure C&P can
32-
deduce. See stringlib_find_two_way_notes.txt in this folder for a
33-
detailed explanation. */
32+
deduce.*/
3433

3534
/**
3635
* @internal
@@ -425,6 +424,7 @@ rfind_char(CheckedIndexer<char_type> s, Py_ssize_t n, char_type ch)
425424
return -1;
426425
}
427426

427+
#undef MEMCHR_CUT_OFF
428428

429429
/**
430430
* @file_internal

0 commit comments

Comments
 (0)