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 5, 2024
1 parent dcafe51 commit 6d10feb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/read_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
if ( readcount == len ) { \
for ( i = 0; i < len; i++ ) { \
TT swapped_ = SwapFunc(&v[i]); \
if (swapped_ >= min_ && swapped_ <= max_) { \
if ( swapped_ >= min_ && swapped_ <= max_ ) { \
data[i] = (T)swapped_; \
} else { \
break; \
Expand All @@ -109,7 +109,7 @@
if ( j == block_size ) { \
for ( j = 0; j < block_size; j++ ) { \
TT swapped_ = SwapFunc(&v[j]); \
if (swapped_ >= min_ && swapped_ <= max_) { \
if ( swapped_ >= min_ && swapped_ <= max_ ) { \
data[i + j] = (T)swapped_; \
} else { \
err_ = 1; \
Expand Down

0 comments on commit 6d10feb

Please sign in to comment.