We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 955e66d commit 6a827a4Copy full SHA for 6a827a4
stringdtype/stringdtype/src/static_string.c
@@ -109,7 +109,7 @@ char *
109
npy_string_arena_malloc(npy_string_arena *arena, npy_string_realloc_func r,
110
size_t size)
111
{
112
- if ((arena->size - arena->cursor) <= size) {
+ if ((arena->size - arena->cursor) < size) {
113
// realloc the buffer so there is enough room
114
// first guess is to double the size of the buffer
115
size_t newsize;
0 commit comments