From 59cc5a11f8faf1f2a9e6e536ce61c6ddbc80bdfd Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
 <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Wed, 26 Jul 2023 05:45:54 +0000
Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
---
 src/steering-method/end-effector-trajectory.cc | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/src/steering-method/end-effector-trajectory.cc b/src/steering-method/end-effector-trajectory.cc
index 1dad590d..d3832902 100644
--- a/src/steering-method/end-effector-trajectory.cc
+++ b/src/steering-method/end-effector-trajectory.cc
@@ -142,15 +142,13 @@ PathPtr_t EndEffectorTrajectory::impl_compute(ConfigurationIn_t q1,
   } catch (const std::exception& e) {
     std::ostringstream os;
     os << "steeringMethod::EndEffectorTrajectory failed: " << e.what()
-              << std::endl;
-    os << "time range: [" << timeRange_.first << ", "
-              << timeRange_.second << "]\n";
+       << std::endl;
+    os << "time range: [" << timeRange_.first << ", " << timeRange_.second
+       << "]\n";
     if (eeTraj_)
       os << (*eeTraj_)(vector_t::Constant(1, timeRange_.first)) << '\n'
-                << (*eeTraj_)(vector_t::Constant(1, timeRange_.second))
-                << std::endl;
-    if (constraints())
-      os << *constraints() << std::endl;
+         << (*eeTraj_)(vector_t::Constant(1, timeRange_.second)) << std::endl;
+    if (constraints()) os << *constraints() << std::endl;
     throw std::runtime_error(os.str().c_str());
   }
 }
-- 
GitLab