Skip to content

Reference to internal are not registered for EigenSparseMatrix + errors with pickable #550

@cmastalli

Description

@cmastalli

If I tried to bind a sparse matrix using .def_readwrite, then I obtained

TypeError: No Python class registered for C++ class Eigen::SparseMatrix<double, 0, int>

If my understanding is correct, it is because Eigenpy is not yet registering references to Eigen's sparse matrices.

Additionally, I observed that when loading a pickable, the number of rows in an Eigen sparse matrix is always lower than the original matrix. I believe the error is coming from Eigenpy as well. I can provide more details if needed.

Thanks in advance,
Carlos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions