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 1a57b16 commit b3e484f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/read_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
if ( readcount == len ) { \
for ( i = 0; i < len; i++ ) { \
TT val_ = v[i]; \
if (val_ >= min_ && val_ <= max_) { \
if ( val_ >= min_ && val_ <= max_ ) { \
data[i] = (T)val_; \
} else { \
break; \
Expand All @@ -70,7 +70,7 @@
if ( j == block_size ) { \
for ( j = 0; j < block_size; j++ ) { \
TT val_ = v[j]; \
if (val_ >= min_ && val_ <= max_) { \
if ( val_ >= min_ && val_ <= max_ ) { \
data[i + j] = (T)val_; \
} else { \
break; \
Expand All @@ -87,7 +87,7 @@
if ( j == len - i ) { \
for ( j = 0; j < len - i; j++ ) { \
TT val_ = v[j]; \
if (val_ >= min_ && val_ <= max_) { \
if ( val_ >= min_ && val_ <= max_ ) { \
data[i + j] = (T)val_; \
} else { \
break; \
Expand All @@ -109,7 +109,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 @@ -126,7 +126,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 All @@ -144,7 +144,7 @@
if ( j == len - i ) { \
for ( j = 0; j < len - i; 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 b3e484f

Please sign in to comment.