diff --git a/src/binding/python/RecordComponent.cpp b/src/binding/python/RecordComponent.cpp index 4c0eba8de1..4e2a8674c0 100644 --- a/src/binding/python/RecordComponent.cpp +++ b/src/binding/python/RecordComponent.cpp @@ -303,7 +303,7 @@ inline void check_buffer_is_contiguous(py::array &a) delete view; throw py::error_already_set(); } - bool isContiguous = (PyBuffer_IsContiguous(view, 'A') != 0); + bool isContiguous = (PyBuffer_IsContiguous(view, 'C') != 0); PyBuffer_Release(view); delete view;