diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 87c5b7f..6e3e1fe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -17,7 +17,7 @@ repos: exclude: external/.*$ - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v15.0.6 + rev: v19.1.7 hooks: - id: clang-format exclude: external/.*$ @@ -30,6 +30,6 @@ repos: # - id: cmake-lint - repo: https://github.com/psf/black - rev: 22.12.0 + rev: 25.1.0 hooks: - id: black diff --git a/tsp/inc/tsp.h b/tsp/inc/tsp.h index df63f58..7f31bad 100644 --- a/tsp/inc/tsp.h +++ b/tsp/inc/tsp.h @@ -258,7 +258,7 @@ typedef struct CCtsp_branchobj { } CCtsp_branchobj; typedef struct CCtsp_cutnode { -#define CCtsp_CUT_INNODELIST(t) ((t)&4) +#define CCtsp_CUT_INNODELIST(t) ((t) & 4) #define CCtsp_CUT_ROOT 0 #define CCtsp_CUT_PNODE 1 #define CCtsp_CUT_QNODE 2