Verified Commit 7caf1c9a authored by Justin Carpentier's avatar Justin Carpentier
Browse files

register: add NPY_NEEDS_INIT

parent ee0a8dd8
......@@ -67,7 +67,7 @@ namespace eigenpy
descr.byteorder = '=';
descr.type = 'r';
descr.elsize = type_size;
descr.flags = NPY_NEEDS_PYAPI | NPY_USE_GETITEM | NPY_USE_SETITEM;
descr.flags = NPY_NEEDS_PYAPI | NPY_USE_GETITEM | NPY_USE_SETITEM | NPY_NEEDS_INIT;
descr.type_num = 0;
descr.names = 0;
descr.fields = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment