diff --git a/include/hpp/manipulation/roadmap-node.hh b/include/hpp/manipulation/roadmap-node.hh index ad821f319565a665c3260059ace432f200d4490e..b2b045fbda97926ee2f8b1a8150ac4a98445c1b9 100644 --- a/include/hpp/manipulation/roadmap-node.hh +++ b/include/hpp/manipulation/roadmap-node.hh @@ -44,8 +44,7 @@ class HPP_MANIPULATION_DLLAPI RoadmapNode : public core::Node { RoadmapNode(ConfigurationIn_t configuration) : core::Node(configuration), state_() {} - RoadmapNode(ConfigurationIn_t configuration, - ConnectedComponentPtr_t cc); + RoadmapNode(ConfigurationIn_t configuration, ConnectedComponentPtr_t cc); /// \name Cache /// \{ diff --git a/src/graph/state-selector.cc b/src/graph/state-selector.cc index e0fbe7fdf997823ccd6263847b19c60dc327a702..87db4d11ba7881de03863f99de12c1ec1d04722e 100644 --- a/src/graph/state-selector.cc +++ b/src/graph/state-selector.cc @@ -90,8 +90,7 @@ StatePtr_t StateSelector::getState(ConfigurationIn_t config) const { } StatePtr_t StateSelector::getState(RoadmapNodePtr_t node) const { - if (!node->cacheUpToDate()) - node->graphState(getState(node->configuration())); + if (!node->cacheUpToDate()) node->graphState(getState(node->configuration())); return node->graphState(); } diff --git a/src/path-planner/states-path-finder.cc b/src/path-planner/states-path-finder.cc index 20eb2515570917a056eb803191c859a85761e486..562aaf582c366d55809d7182153be3d3e351cda2 100644 --- a/src/path-planner/states-path-finder.cc +++ b/src/path-planner/states-path-finder.cc @@ -1455,7 +1455,7 @@ void StatesPathFinder::startSolve() { void StatesPathFinder::oneStep() { if (idxConfigList_ == 0) { // TODO: accommodate when goal is a set of constraints - assert(q1_.size()>0); + assert(q1_.size() > 0); configList_ = computeConfigList(q1_, q2_); if (configList_.size() <= 1) { // max depth reached reset();