Skip to content
Snippets Groups Projects
Commit 2dace5e0 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MeL] Clarify return value for getMaximumNConnectedNodes...().

parent 5655515a
No related branches found
No related tags found
No related merge requests found
......@@ -130,6 +130,7 @@ class NodePartitionedMesh : public Mesh
return (node_a->getConnectedNodes().size() <
node_b->getConnectedNodes().size());
});
// Return the number of connected nodes +1 for the node itself.
return (*it_max_ncn)->getConnectedNodes().size() + 1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment