diff --git a/src/graph/node-selector.cc b/src/graph/node-selector.cc index 909ed6534221ce5f9794e93d3611ce5b2c00d3c1..cc29fe860819e195e02178015caa9204b1e34caa 100644 --- a/src/graph/node-selector.cc +++ b/src/graph/node-selector.cc @@ -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 (); }