From 5b3e7a9dcad456e5bbe0f5126f5bdbb38b967d9a Mon Sep 17 00:00:00 2001 From: Nicolas Bock Date: Sat, 29 Jul 2017 06:10:03 +0200 Subject: [PATCH] Fix indentation --- src/C-interface/ellpack/bml_scale_ellpack.c | 6 +++--- src/C-interface/ellpack/bml_scale_ellpack.h | 8 ++++---- src/C-interface/ellsort/bml_scale_ellsort.c | 6 +++--- src/C-interface/ellsort/bml_scale_ellsort.h | 16 ++++++++-------- tests/get_set_diagonal.c | 8 ++++---- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/C-interface/ellpack/bml_scale_ellpack.c b/src/C-interface/ellpack/bml_scale_ellpack.c index 8b0b5ab6d..a6ad315ad 100644 --- a/src/C-interface/ellpack/bml_scale_ellpack.c +++ b/src/C-interface/ellpack/bml_scale_ellpack.c @@ -16,7 +16,7 @@ */ bml_matrix_ellpack_t * bml_scale_ellpack_new( - const void * scale_factor, + const void *scale_factor, const bml_matrix_ellpack_t * A) { bml_matrix_ellpack_t *B = NULL; @@ -51,7 +51,7 @@ bml_scale_ellpack_new( */ void bml_scale_ellpack( - const void * scale_factor, + const void *scale_factor, const bml_matrix_ellpack_t * A, const bml_matrix_ellpack_t * B) { @@ -77,7 +77,7 @@ bml_scale_ellpack( void bml_scale_inplace_ellpack( - const void * scale_factor, + const void *scale_factor, bml_matrix_ellpack_t * A) { switch (A->matrix_precision) diff --git a/src/C-interface/ellpack/bml_scale_ellpack.h b/src/C-interface/ellpack/bml_scale_ellpack.h index f1fff092b..8937e1ab7 100644 --- a/src/C-interface/ellpack/bml_scale_ellpack.h +++ b/src/C-interface/ellpack/bml_scale_ellpack.h @@ -41,12 +41,12 @@ void bml_scale_ellpack_double_real( const bml_matrix_ellpack_t * B); void bml_scale_ellpack_single_complex( - const float complex *scale_factor, + const float complex * scale_factor, const bml_matrix_ellpack_t * A, const bml_matrix_ellpack_t * B); void bml_scale_ellpack_double_complex( - const double complex *scale_factor, + const double complex * scale_factor, const bml_matrix_ellpack_t * A, const bml_matrix_ellpack_t * B); @@ -63,11 +63,11 @@ void bml_scale_inplace_ellpack_double_real( bml_matrix_ellpack_t * A); void bml_scale_inplace_ellpack_single_complex( - const float complex *scale_factor, + const float complex * scale_factor, bml_matrix_ellpack_t * A); void bml_scale_inplace_ellpack_double_complex( - const double complex *scale_factor, + const double complex * scale_factor, bml_matrix_ellpack_t * A); #endif diff --git a/src/C-interface/ellsort/bml_scale_ellsort.c b/src/C-interface/ellsort/bml_scale_ellsort.c index 3138ac8c6..8fe642e83 100644 --- a/src/C-interface/ellsort/bml_scale_ellsort.c +++ b/src/C-interface/ellsort/bml_scale_ellsort.c @@ -16,7 +16,7 @@ */ bml_matrix_ellsort_t * bml_scale_ellsort_new( - const void * scale_factor, + const void *scale_factor, const bml_matrix_ellsort_t * A) { bml_matrix_ellsort_t *B = NULL; @@ -51,7 +51,7 @@ bml_scale_ellsort_new( */ void bml_scale_ellsort( - const void * scale_factor, + const void *scale_factor, const bml_matrix_ellsort_t * A, const bml_matrix_ellsort_t * B) { @@ -77,7 +77,7 @@ bml_scale_ellsort( void bml_scale_inplace_ellsort( - const void * scale_factor, + const void *scale_factor, bml_matrix_ellsort_t * A) { switch (A->matrix_precision) diff --git a/src/C-interface/ellsort/bml_scale_ellsort.h b/src/C-interface/ellsort/bml_scale_ellsort.h index 4d717c7f5..747e41623 100644 --- a/src/C-interface/ellsort/bml_scale_ellsort.h +++ b/src/C-interface/ellsort/bml_scale_ellsort.h @@ -10,7 +10,7 @@ bml_matrix_ellsort_t *bml_scale_ellsort_new( const bml_matrix_ellsort_t * A); bml_matrix_ellsort_t *bml_scale_ellsort_new_single_real( - const float * scale_factor, + const float *scale_factor, const bml_matrix_ellsort_t * A); bml_matrix_ellsort_t *bml_scale_ellsort_new_double_real( @@ -22,7 +22,7 @@ bml_matrix_ellsort_t *bml_scale_ellsort_new_single_complex( const bml_matrix_ellsort_t * A); bml_matrix_ellsort_t *bml_scale_ellsort_new_double_complex( - const double complex *scale_factor, + const double complex * scale_factor, const bml_matrix_ellsort_t * A); void bml_scale_ellsort( @@ -31,12 +31,12 @@ void bml_scale_ellsort( const bml_matrix_ellsort_t * B); void bml_scale_ellsort_single_real( - const float * scale_factor, + const float *scale_factor, const bml_matrix_ellsort_t * A, const bml_matrix_ellsort_t * B); void bml_scale_ellsort_double_real( - const double* scale_factor, + const double *scale_factor, const bml_matrix_ellsort_t * A, const bml_matrix_ellsort_t * B); @@ -46,7 +46,7 @@ void bml_scale_ellsort_single_complex( const bml_matrix_ellsort_t * B); void bml_scale_ellsort_double_complex( - const double complex *scale_factor, + const double complex * scale_factor, const bml_matrix_ellsort_t * A, const bml_matrix_ellsort_t * B); @@ -55,11 +55,11 @@ void bml_scale_inplace_ellsort( bml_matrix_ellsort_t * A); void bml_scale_inplace_ellsort_single_real( - const float * scale_factor, + const float *scale_factor, bml_matrix_ellsort_t * A); void bml_scale_inplace_ellsort_double_real( - const double* scale_factor, + const double *scale_factor, bml_matrix_ellsort_t * A); void bml_scale_inplace_ellsort_single_complex( @@ -67,7 +67,7 @@ void bml_scale_inplace_ellsort_single_complex( bml_matrix_ellsort_t * A); void bml_scale_inplace_ellsort_double_complex( - const double complex *scale_factor, + const double complex * scale_factor, bml_matrix_ellsort_t * A); #endif diff --git a/tests/get_set_diagonal.c b/tests/get_set_diagonal.c index a3307d1dc..a7385f640 100644 --- a/tests/get_set_diagonal.c +++ b/tests/get_set_diagonal.c @@ -14,19 +14,19 @@ test_get_set_diagonal( { case single_real: return test_get_set_diagonal_single_real(N, matrix_type, - matrix_precision, M); + matrix_precision, M); break; case double_real: return test_get_set_diagonal_double_real(N, matrix_type, - matrix_precision, M); + matrix_precision, M); break; case single_complex: return test_get_set_diagonal_single_complex(N, matrix_type, - matrix_precision, M); + matrix_precision, M); break; case double_complex: return test_get_set_diagonal_double_complex(N, matrix_type, - matrix_precision, M); + matrix_precision, M); break; default: fprintf(stderr, "unknown matrix precision\n");