From 287876f58f1ea53f5a4fe18ce20b79b22734334a Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
 <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Fri, 31 May 2024 12:41:12 +0000
Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
---
 src/path-planner/states-path-finder.cc | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/path-planner/states-path-finder.cc b/src/path-planner/states-path-finder.cc
index c364bcee..343f4852 100644
--- a/src/path-planner/states-path-finder.cc
+++ b/src/path-planner/states-path-finder.cc
@@ -18,11 +18,6 @@
 // hpp-manipulation. If not, see <http://www.gnu.org/licenses/>.
 
 #include <algorithm>
-#include <iomanip>
-#include <ranges>
-#include <stack>
-#include <typeinfo>
-#include <unordered_map>
 #include <hpp/constraints/affine-function.hh>
 #include <hpp/constraints/explicit.hh>
 #include <hpp/constraints/locked-joint.hh>
@@ -49,10 +44,15 @@
 #include <hpp/util/debug.hh>
 #include <hpp/util/exception-factory.hh>
 #include <hpp/util/timer.hh>
+#include <iomanip>
 #include <map>
 #include <pinocchio/fwd.hpp>
 #include <pinocchio/multibody/model.hpp>
 #include <queue>
+#include <ranges>
+#include <stack>
+#include <typeinfo>
+#include <unordered_map>
 #include <vector>
 
 namespace hpp {
@@ -1123,9 +1123,9 @@ size_t StatesPathFinder::hashRHS(vector_t rhs) const {
   return std::hash<std::string>{}(ss.str());
 }
 
-// Check if a solution (a list of transitions) contains impossible to solve steps
-// due to inevitable collisions. A step is impossible to solve if it has two
-// constraints set from init or goal which have produced a collision between
+// Check if a solution (a list of transitions) contains impossible to solve
+// steps due to inevitable collisions. A step is impossible to solve if it has
+// two constraints set from init or goal which have produced a collision between
 // objects constrained by them.
 // The list of such known constraint pairs are memorized in pairMap table and
 // individually in constraintMap.
@@ -1316,8 +1316,8 @@ bool StatesPathFinder::saveIncompatibleRHS(ConstraintMap_t& pairMap,
         return std::vector<int>{-1, -1};
       };
 
-      // indices contains the two indices of the constraints that constraint pose of j1
-      // with respect to j2, if any, or { -1, -1}
+      // indices contains the two indices of the constraints that constraint
+      // pose of j1 with respect to j2, if any, or { -1, -1}
       auto indices = getIndices();
 
       // Make sure indices are all defined
-- 
GitLab