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 b3b5278 commit ec7c9d3Copy full SHA for ec7c9d3
Objects/memoryobject.c
@@ -264,7 +264,7 @@ PyTypeObject _PyManagedBuffer_Type = {
264
/* Assumptions: ndim >= 1. The macro tests for a corner case that should
265
perhaps be explicitly forbidden in the PEP. */
266
#define HAVE_SUBOFFSETS_IN_LAST_DIM(view) \
267
- (view->suboffsets && view->suboffsets[dest->ndim-1] >= 0)
+ (view->suboffsets && view->suboffsets[view->ndim-1] >= 0)
268
269
static inline int
270
last_dim_is_contiguous(const Py_buffer *dest, const Py_buffer *src)
0 commit comments