From d09c655a39c782c155f302bacc8dbabfe4d8fae9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 23:31:28 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/read_data.c | 2 +- src/read_data_impl.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/read_data.c b/src/read_data.c index 48893d53..23c54bdd 100644 --- a/src/read_data.c +++ b/src/read_data.c @@ -100,7 +100,7 @@ if ( j == block_size ) { \ for ( j = 0; j < block_size; j++ ) { \ auto xxx = SwapFunc(&v[j]); \ - if (xxx >= data_min && xxx <= data_max) { \ + if ( xxx >= data_min && xxx <= data_max ) { \ data[i + j] = (T)xxx; \ } \ } \ diff --git a/src/read_data_impl.h b/src/read_data_impl.h index c830e0bc..ee308679 100644 --- a/src/read_data_impl.h +++ b/src/read_data_impl.h @@ -41,7 +41,8 @@ #endif /* HAVE_MAT_UINT64_T */ static size_t -READ_TYPE_DOUBLE_DATA(mat_t *mat, READ_TYPE *data, READ_TYPE data_min, READ_TYPE data_max, size_t len) +READ_TYPE_DOUBLE_DATA(mat_t *mat, READ_TYPE *data, READ_TYPE data_min, READ_TYPE data_max, + size_t len) { size_t readcount; #if READ_TYPE_TYPE == READ_TYPE_DOUBLE