Skip to content

Commit

Permalink
Merge pull request #91 from nicolasbock/fix_indentation
Browse files Browse the repository at this point in the history
Fix indentation
  • Loading branch information
nicolasbock authored Jul 30, 2017
2 parents ede9dce + 5b3e7a9 commit d68fded
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions src/C-interface/ellpack/bml_scale_ellpack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
{
Expand All @@ -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)
Expand Down
8 changes: 4 additions & 4 deletions src/C-interface/ellpack/bml_scale_ellpack.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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
6 changes: 3 additions & 3 deletions src/C-interface/ellsort/bml_scale_ellsort.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
{
Expand All @@ -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)
Expand Down
16 changes: 8 additions & 8 deletions src/C-interface/ellsort/bml_scale_ellsort.h
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand All @@ -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);

Expand All @@ -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);

Expand All @@ -55,19 +55,19 @@ 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(
const float complex * scale_factor,
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
8 changes: 4 additions & 4 deletions tests/get_set_diagonal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit d68fded

Please sign in to comment.