Skip to content

Memory access error in centerOfMassComputation #139

@florent-lamiraux

Description

@florent-lamiraux

Running valgrind I got an invalid read at

const std::size_t& rootId = roots_[root];
.
Adding
assert(root < roots_.size());
before this line confirms the issue.

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