diff --git a/src/graph/helper.cc b/src/graph/helper.cc
index c9a6fe706fbd56e3a5e90b46209856bf9d5d3e1e..142cbe8db86bb4b72df137cc0cae28455c32effd 100644
--- a/src/graph/helper.cc
+++ b/src/graph/helper.cc
@@ -131,20 +131,9 @@ namespace hpp {
               typedef boost::array <NodePtr_t, Nnodes> NodeArray;
               typedef boost::array <EdgePtr_t, Nedges> EdgeArray;
 
-              static inline const NodePtr_t& Npregrasp (const NodeArray& n)
-              {
-                assert (pregrasp); return n[1];
-              }
-
-              static inline const NodePtr_t& Nintersec (const NodeArray& n)
-              {
-                assert (intersec); return n[1 + (pregrasp?1:0)];
-              }
-
-              static inline const NodePtr_t& Npreplace (const NodeArray& n)
-              {
-                assert (preplace); return n[1 + (pregrasp?1:0) + (intersec?1:0)];
-              }
+              static inline const NodePtr_t& Npregrasp (const NodeArray& n) { assert (pregrasp); return n[1]; }
+              static inline const NodePtr_t& Nintersec (const NodeArray& n) { assert (intersec); return n[1 + (pregrasp?1:0)]; }
+              static inline const NodePtr_t& Npreplace (const NodeArray& n) { assert (preplace); return n[1 + (pregrasp?1:0) + (intersec?1:0)]; }
 
               static inline EdgePtr_t makeWE (
                   const std::string& name,