Closed
Description
Using the Eigenpy-provided user_type.cpp
, one is unable to directly make np arrays of ones / zeros.
In test_user_type.py
, changing line
mat = np.array(np.ones((rows, cols)).astype(np.int32), dtype=dtype)
to
mat = np.ones((rows,cols), dtype=dtype)
causes the test to fail with error
SystemError: <built-in function copyto> returned NULL without setting an exception
Metadata
Metadata
Assignees
Labels
No labels