Skip to content

Commit c43d27a

Browse files
committed
Paranthesis formatting.
1 parent 2da7000 commit c43d27a

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

LAPACKE/utils/lapacke_ctz_nancheck.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,18 +112,18 @@ lapack_logical LAPACKE_ctz_nancheck( int matrix_layout, char direct, char uplo,
112112
/* Fix offsets depending on the shape of the matrix */
113113
if( front ) {
114114
if( lower && m > n) {
115-
rect_offset = tri_n * (!colmaj ? lda : 1);
115+
rect_offset = tri_n * ( !colmaj ? lda : 1 );
116116
} else if( !lower && n > m) {
117-
rect_offset = tri_n * (colmaj ? lda : 1);
117+
rect_offset = tri_n * ( colmaj ? lda : 1 );
118118
}
119119
} else {
120120
if( m > n) {
121-
tri_offset = rect_m * (!colmaj ? lda : 1);
121+
tri_offset = rect_m * ( !colmaj ? lda : 1 );
122122
if( !lower ) {
123123
rect_offset = 0;
124124
}
125125
} else if( n > m) {
126-
tri_offset = rect_n * (colmaj ? lda : 1);
126+
tri_offset = rect_n * ( colmaj ? lda : 1 );
127127
if( lower ) {
128128
rect_offset = 0;
129129
}

LAPACKE/utils/lapacke_dtz_nancheck.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,18 +111,18 @@ lapack_logical LAPACKE_dtz_nancheck( int matrix_layout, char direct, char uplo,
111111
/* Fix offsets depending on the shape of the matrix */
112112
if( front ) {
113113
if( lower && m > n) {
114-
rect_offset = tri_n * (!colmaj ? lda : 1);
114+
rect_offset = tri_n * ( !colmaj ? lda : 1 );
115115
} else if( !lower && n > m) {
116-
rect_offset = tri_n * (colmaj ? lda : 1);
116+
rect_offset = tri_n * ( colmaj ? lda : 1 );
117117
}
118118
} else {
119119
if( m > n) {
120-
tri_offset = rect_m * (!colmaj ? lda : 1);
120+
tri_offset = rect_m * ( !colmaj ? lda : 1 );
121121
if( !lower ) {
122122
rect_offset = 0;
123123
}
124124
} else if( n > m) {
125-
tri_offset = rect_n * (colmaj ? lda : 1);
125+
tri_offset = rect_n * ( colmaj ? lda : 1 );
126126
if( lower ) {
127127
rect_offset = 0;
128128
}

LAPACKE/utils/lapacke_stz_nancheck.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,18 +111,18 @@ lapack_logical LAPACKE_stz_nancheck( int matrix_layout, char direct, char uplo,
111111
/* Fix offsets depending on the shape of the matrix */
112112
if( front ) {
113113
if( lower && m > n) {
114-
rect_offset = tri_n * (!colmaj ? lda : 1);
114+
rect_offset = tri_n * ( !colmaj ? lda : 1 );
115115
} else if( !lower && n > m) {
116-
rect_offset = tri_n * (colmaj ? lda : 1);
116+
rect_offset = tri_n * ( colmaj ? lda : 1 );
117117
}
118118
} else {
119119
if( m > n) {
120-
tri_offset = rect_m * (!colmaj ? lda : 1);
120+
tri_offset = rect_m * ( !colmaj ? lda : 1 );
121121
if( !lower ) {
122122
rect_offset = 0;
123123
}
124124
} else if( n > m) {
125-
tri_offset = rect_n * (colmaj ? lda : 1);
125+
tri_offset = rect_n * ( colmaj ? lda : 1 );
126126
if( lower ) {
127127
rect_offset = 0;
128128
}

LAPACKE/utils/lapacke_ztz_nancheck.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,18 +112,18 @@ lapack_logical LAPACKE_ztz_nancheck( int matrix_layout, char direct, char uplo,
112112
/* Fix offsets depending on the shape of the matrix */
113113
if( front ) {
114114
if( lower && m > n) {
115-
rect_offset = tri_n * (!colmaj ? lda : 1);
115+
rect_offset = tri_n * ( !colmaj ? lda : 1 );
116116
} else if( !lower && n > m) {
117-
rect_offset = tri_n * (colmaj ? lda : 1);
117+
rect_offset = tri_n * ( colmaj ? lda : 1 );
118118
}
119119
} else {
120120
if( m > n) {
121-
tri_offset = rect_m * (!colmaj ? lda : 1);
121+
tri_offset = rect_m * ( !colmaj ? lda : 1 );
122122
if( !lower ) {
123123
rect_offset = 0;
124124
}
125125
} else if( n > m) {
126-
tri_offset = rect_n * (colmaj ? lda : 1);
126+
tri_offset = rect_n * ( colmaj ? lda : 1 );
127127
if( lower ) {
128128
rect_offset = 0;
129129
}

0 commit comments

Comments
 (0)