Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 4, 2024
1 parent ac8bce4 commit d09c655
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/read_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
} \
} \
Expand Down
3 changes: 2 additions & 1 deletion src/read_data_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d09c655

Please sign in to comment.