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