Skip to content
Snippets Groups Projects
Commit d311e290 authored by mattijs's avatar mattijs
Browse files

BUG: size was returning points size instead of subset size

parent cfd449ac
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,12 @@ public: ...@@ -86,7 +86,12 @@ public:
inline label size() const inline label size() const
{ {
return points_.size(); return
(
pointLabels_.size()
? pointLabels_.size()
: points_.size()
);
} }
inline const labelList& pointLabels() const inline const labelList& pointLabels() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment