mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: size was returning points size instead of subset size
This commit is contained in:
@ -86,7 +86,12 @@ public:
|
||||
|
||||
inline label size() const
|
||||
{
|
||||
return points_.size();
|
||||
return
|
||||
(
|
||||
pointLabels_.size()
|
||||
? pointLabels_.size()
|
||||
: points_.size()
|
||||
);
|
||||
}
|
||||
|
||||
inline const labelList& pointLabels() const
|
||||
|
||||
Reference in New Issue
Block a user