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 e301f23 commit 10d4d00Copy full SHA for 10d4d00
pandas/_libs/src/numpy_helper.h
@@ -43,8 +43,8 @@ PANDAS_INLINE const char* get_c_string(PyObject* obj) {
43
44
void set_array_not_contiguous(PyArrayObject* ao) {
45
// Numpy>=1.8-compliant equivalent to:
46
- // ao->flags &= ~(NPY_ARRAY_C_CONTIGUOUS | NPY_ARRAY_F_CONTIGUOUS);
47
- PyArray_CLEARFLAGS(ao, (NPY_ARRAY_C_CONTIGUOUS | NPY_ARRAY_F_CONTIGUOUS));
+ ao->flags &= ~(NPY_ARRAY_C_CONTIGUOUS | NPY_ARRAY_F_CONTIGUOUS);
+ //PyArray_CLEARFLAGS(ao, (NPY_ARRAY_C_CONTIGUOUS | NPY_ARRAY_F_CONTIGUOUS));
48
}
49
50
#endif // PANDAS__LIBS_SRC_NUMPY_HELPER_H_
0 commit comments