Skip to content

[registration] Assert not triggered in release mode, continues with nonsensical computation #5531

@themightyoarfish

Description

@themightyoarfish

I noticed that the tools/icp program prints NaN matrices for me on a data set. After some digging, I can see that when built in debug mode, this assert here is triggered:

assert (point_representation_->isValid (point) && "Invalid (NaN, Inf) point coordinates given to nearestKSearch!");

Is it intended to just continue in release mode? It seems to me this should be a fatal error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions