From b3e484fc46d7bd61003742bd97670a12e83ee497 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 5 Mar 2024 18:04:50 +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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/read_data.c b/src/read_data.c index fcf2a5a1..37defd10 100644 --- a/src/read_data.c +++ b/src/read_data.c @@ -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; \ @@ -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; \ @@ -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; \ @@ -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; \ @@ -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; \ @@ -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; \