Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
eigenpy
Commits
c506bed8
Verified
Commit
c506bed8
authored
Apr 19, 2022
by
Justin Carpentier
Browse files
core: fix type
parent
bbb129d3
Pipeline
#18399
passed with stage
in 17 minutes and 51 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
include/eigenpy/numpy.hpp
View file @
c506bed8
...
...
@@ -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
);
...
...
src/numpy.cpp
View file @
c506bed8
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment