Fix if the last coordinate is not found

This commit is contained in:
Patrick Niklaus 2016-02-26 04:33:47 +01:00
parent c2423ef20f
commit 17382b2a28

View File

@ -267,6 +267,7 @@ class BasePlugin
// we didn't found a fitting node, return error
if (!phantom_node_pairs[i].first.IsValid(facade.GetNumberOfNodes()))
{
phantom_node_pairs.pop_back();
break;
}
BOOST_ASSERT(phantom_node_pairs[i].first.IsValid(facade.GetNumberOfNodes()));