From d963626eb2c68a88d12c41e0845018149b77f03a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Nov 2022 17:52:57 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- include/hpp/centroidal-dynamics/logger.hh | 8 ++++---- include/hpp/centroidal-dynamics/util.hh | 2 +- src/centroidal_dynamics.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/hpp/centroidal-dynamics/logger.hh b/include/hpp/centroidal-dynamics/logger.hh index ef2c539..0c396e5 100644 --- a/include/hpp/centroidal-dynamics/logger.hh +++ b/include/hpp/centroidal-dynamics/logger.hh @@ -19,10 +19,10 @@ namespace centroidal_dynamics { -//#define LOGGER_VERBOSITY_ERROR -//#define LOGGER_VERBOSITY_WARNING_ERROR -//#define LOGGER_VERBOSITY_INFO_WARNING_ERROR -//#define LOGGER_VERBOSITY_ALL +// #define LOGGER_VERBOSITY_ERROR +// #define LOGGER_VERBOSITY_WARNING_ERROR +// #define LOGGER_VERBOSITY_INFO_WARNING_ERROR +// #define LOGGER_VERBOSITY_ALL #define LOGGER_VERBOSITY_ALL #define SEND_MSG(msg, type) getLogger().sendMsg(msg, type, __FILE__, __LINE__) diff --git a/include/hpp/centroidal-dynamics/util.hh b/include/hpp/centroidal-dynamics/util.hh index 01ef732..aa2918b 100644 --- a/include/hpp/centroidal-dynamics/util.hh +++ b/include/hpp/centroidal-dynamics/util.hh @@ -20,7 +20,7 @@ namespace centroidal_dynamics { -//#define USE_FLOAT 1; +// #define USE_FLOAT 1; #ifdef USE_FLOAT typedef float value_type; #else diff --git a/src/centroidal_dynamics.cpp b/src/centroidal_dynamics.cpp index 7d989dd..8b6b4d1 100644 --- a/src/centroidal_dynamics.cpp +++ b/src/centroidal_dynamics.cpp @@ -448,7 +448,7 @@ LP_status Equilibrium::findExtremumOverLine(Cref_vector3 a, Cref_vector3 a0, if (lpStatus_primal == LP_STATUS_OPTIMAL) { com = a0 + a * b_p(m); -//#define WRITE_LPS_TO_FILE +// #define WRITE_LPS_TO_FILE #ifdef WRITE_LPS_TO_FILE string date_time = getDateAndTimeAsString(); string filename = "LP_findExtremumOverLine" + date_time + ".dat"; -- GitLab