Skip to content

Commit 0c2c347

Browse files
committed
Merge branch 'modify-block-test' of github.com:ManifoldFR/eigenpy into modify-block-test
2 parents 81391d2 + c506bed commit 0c2c347

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

include/eigenpy/numpy.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ EIGENPY_DLLAPI PyObject* call_PyArray_New(PyTypeObject* py_type_ptr, int nd,
111111

112112
EIGENPY_DLLAPI PyObject* call_PyArray_New(PyTypeObject* py_type_ptr, int nd,
113113
npy_intp* shape, int np_type,
114-
npy_intp const* strides,
115-
void* data_ptr, int options);
114+
npy_intp* strides, void* data_ptr,
115+
int options);
116116

117117
EIGENPY_DLLAPI int call_PyArray_ObjectType(PyObject*, int);
118118

@@ -150,7 +150,7 @@ inline PyObject* call_PyArray_New(PyTypeObject* py_type_ptr, int nd,
150150

151151
inline PyObject* call_PyArray_New(PyTypeObject* py_type_ptr, int nd,
152152
npy_intp* shape, int np_type,
153-
npy_intp const* strides, void* data_ptr,
153+
npy_intp* strides, void* data_ptr,
154154
int options) {
155155
return PyArray_New(py_type_ptr, nd, shape, np_type, strides, data_ptr, 0,
156156
options, NULL);

src/numpy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ PyObject* call_PyArray_New(PyTypeObject* py_type_ptr, int nd, npy_intp* shape,
3232
}
3333

3434
PyObject* call_PyArray_New(PyTypeObject* py_type_ptr, int nd, npy_intp* shape,
35-
int np_type, npy_intp const* strides, void* data_ptr,
35+
int np_type, npy_intp* strides, void* data_ptr,
3636
int options) {
3737
return PyArray_New(py_type_ptr, nd, shape, np_type, strides, data_ptr, 0,
3838
options, NULL);

0 commit comments

Comments
 (0)