From 4edc2a2ff0a844b4c3aeaf619370cc814ac5b330 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 18:58:06 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0) - [github.com/pre-commit/mirrors-clang-format: v16.0.6 → v17.0.2](https://github.com/pre-commit/mirrors-clang-format/compare/v16.0.6...v17.0.2) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 917185c79..2f8bdd219 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -10,6 +10,6 @@ repos: - id: check-added-large-files - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v16.0.6 + rev: v17.0.2 hooks: - id: clang-format From cabe45ae7840175192cdbf63db52b062a65e5163 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 18:58:18 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- g2o/stuff/macros.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/g2o/stuff/macros.h b/g2o/stuff/macros.h index 24a01e23e..3265ed6ca 100644 --- a/g2o/stuff/macros.h +++ b/g2o/stuff/macros.h @@ -28,11 +28,11 @@ #define G2O_MACROS_H #ifndef DEG2RAD -#define DEG2RAD(x) ((x)*0.01745329251994329575) +#define DEG2RAD(x) ((x) * 0.01745329251994329575) #endif #ifndef RAD2DEG -#define RAD2DEG(x) ((x)*57.29577951308232087721) +#define RAD2DEG(x) ((x) * 57.29577951308232087721) #endif // GCC the one and only