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

[MeL] Assert local index is valid in isBaseNode

parent 6e95af8e
No related branches found
No related tags found
No related merge requests found
......@@ -357,6 +357,7 @@ bool isBaseNode(Node const& node,
auto const n_base_nodes = e->getNumberOfBaseNodes();
auto const local_index = getNodeIDinElement(*e, &node);
assert(local_index <= e->getNumberOfNodes());
return local_index < n_base_nodes;
}
......
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