Skip to content
Snippets Groups Projects
Commit 5f297d74 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Throw logic_error when a configuration does not fit in any graph::Node

parent fd10b08f
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,7 @@ namespace hpp {
orderedStates_.end() != it; it++)
if ((*it)->contains(config))
return *it;
throw std::logic_error ("A configuration has no node");
return NodePtr_t ();
}
......
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