diff --git a/src/graph/node.cc b/src/graph/node.cc
index db99a00bd6e6d1446348e54001e2b0478abd70e2..0746b5eaf09cda06e3a61a821043ed318978186c 100644
--- a/src/graph/node.cc
+++ b/src/graph/node.cc
@@ -72,8 +72,7 @@ namespace hpp {
         // TODO: This is not the most efficient way. We should
         // compute the value of the constraint instead of apllying
         // the constraint.
-        Configuration_t cfg = config;
-        return configConstraint()->apply(cfg) && ( cfg == config );
+        return configConstraint()->isSatisfied (config);
       }
 
       std::ostream& Node::print (std::ostream& os) const