Skip to content

Commit 105340e

Browse files
committed
fix edit to commit e69b349 (caught by @hpkfft)
1 parent 238b695 commit 105340e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nb_func.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ static PyObject *nb_bound_method_vectorcall(PyObject *self,
10961096
alloc = true;
10971097
}
10981098

1099-
if (size)
1099+
if (size > 1)
11001100
memcpy(args + 1, args_in, sizeof(PyObject *) * (size - 1));
11011101
}
11021102

0 commit comments

Comments
 (0)