Fix if the last coordinate is not found
This commit is contained in:
		
							parent
							
								
									bb2baa82aa
								
							
						
					
					
						commit
						e5d964492a
					
				| @ -267,6 +267,7 @@ class BasePlugin | |||||||
|             // we didn't found a fitting node, return error
 |             // we didn't found a fitting node, return error
 | ||||||
|             if (!phantom_node_pairs[i].first.IsValid(facade.GetNumberOfNodes())) |             if (!phantom_node_pairs[i].first.IsValid(facade.GetNumberOfNodes())) | ||||||
|             { |             { | ||||||
|  |                 phantom_node_pairs.pop_back(); | ||||||
|                 break; |                 break; | ||||||
|             } |             } | ||||||
|             BOOST_ASSERT(phantom_node_pairs[i].first.IsValid(facade.GetNumberOfNodes())); |             BOOST_ASSERT(phantom_node_pairs[i].first.IsValid(facade.GetNumberOfNodes())); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user