Skip to content

[sample_consensus] Sac::getInliers should return the results as a const reference instead of to a parameter #6239

Open
@SunBlack

Description

@SunBlack

Just found this

inline void
getInliers (Indices &inliers) const { inliers = inliers_; }

Compared to this, the GPU module is already fine (apart from the slightly different type between both modules)

inline IndicesPtr
getInliers () { return inliers_; }

Note: Sames goes for getModelCoefficients

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