diff options
author | robot-piglet <[email protected]> | 2025-08-01 21:30:33 +0300 |
---|---|---|
committer | robot-piglet <[email protected]> | 2025-08-01 21:44:33 +0300 |
commit | 5e971f676b02569e1f054c14ab46fc88d64646ca (patch) | |
tree | e91e46b98393b6ff7e7c581cc7f3b728fc67783c /contrib/python/matplotlib/py3/src | |
parent | d26972227453799b411b840c959784b73d6d99db (diff) |
Intermediate changes
commit_hash:2593e29b01982d14fc576c3f4c4ddf2e4febb604
Diffstat (limited to 'contrib/python/matplotlib/py3/src')
-rw-r--r-- | contrib/python/matplotlib/py3/src/_path_wrapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/matplotlib/py3/src/_path_wrapper.cpp b/contrib/python/matplotlib/py3/src/_path_wrapper.cpp index 369d9e03088..15a30e298df 100644 --- a/contrib/python/matplotlib/py3/src/_path_wrapper.cpp +++ b/contrib/python/matplotlib/py3/src/_path_wrapper.cpp @@ -699,8 +699,8 @@ static PyObject *Py_is_sorted_and_has_non_nan(PyObject *self, PyObject *obj) { bool result; - PyArrayObject *array = (PyArrayObject *)PyArray_FromAny( - obj, NULL, 1, 1, 0, NULL); + PyArrayObject *array = (PyArrayObject *)PyArray_CheckFromAny( + obj, NULL, 1, 1, NPY_ARRAY_NOTSWAPPED, NULL); if (array == NULL) { return NULL; |