Skip to content
Snippets Groups Projects
Verified Commit c506bed8 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core: fix type

parent bbb129d3
No related branches found
No related tags found
No related merge requests found
Pipeline #18399 passed with warnings
......@@ -111,8 +111,8 @@ EIGENPY_DLLAPI PyObject* call_PyArray_New(PyTypeObject* py_type_ptr, int nd,
EIGENPY_DLLAPI PyObject* call_PyArray_New(PyTypeObject* py_type_ptr, int nd,
npy_intp* shape, int np_type,
npy_intp const* strides,
void* data_ptr, int options);
npy_intp* strides, void* data_ptr,
int options);
EIGENPY_DLLAPI int call_PyArray_ObjectType(PyObject*, int);
......@@ -150,7 +150,7 @@ inline PyObject* call_PyArray_New(PyTypeObject* py_type_ptr, int nd,
inline PyObject* call_PyArray_New(PyTypeObject* py_type_ptr, int nd,
npy_intp* shape, int np_type,
npy_intp const* strides, void* data_ptr,
npy_intp* strides, void* data_ptr,
int options) {
return PyArray_New(py_type_ptr, nd, shape, np_type, strides, data_ptr, 0,
options, NULL);
......
......@@ -32,7 +32,7 @@ PyObject* call_PyArray_New(PyTypeObject* py_type_ptr, int nd, npy_intp* shape,
}
PyObject* call_PyArray_New(PyTypeObject* py_type_ptr, int nd, npy_intp* shape,
int np_type, npy_intp const* strides, void* data_ptr,
int np_type, npy_intp* strides, void* data_ptr,
int options) {
return PyArray_New(py_type_ptr, nd, shape, np_type, strides, data_ptr, 0,
options, NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment