summaryrefslogtreecommitdiffstats
path: root/contrib/python/matplotlib/py3/src
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-08-01 21:30:33 +0300
committerrobot-piglet <[email protected]>2025-08-01 21:44:33 +0300
commit5e971f676b02569e1f054c14ab46fc88d64646ca (patch)
treee91e46b98393b6ff7e7c581cc7f3b728fc67783c /contrib/python/matplotlib/py3/src
parentd26972227453799b411b840c959784b73d6d99db (diff)
Intermediate changes
commit_hash:2593e29b01982d14fc576c3f4c4ddf2e4febb604
Diffstat (limited to 'contrib/python/matplotlib/py3/src')
-rw-r--r--contrib/python/matplotlib/py3/src/_path_wrapper.cpp4
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;