Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings supression in some LAPACKE functions #780

Merged
merged 1 commit into from
Jan 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LAPACKE/src/lapacke_clarfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ lapack_int LAPACKE_clarfb( int matrix_layout, char side, char trans, char direct
ncols_v = ( !col && left ) ? m : ( ( !col && !left ) ? n : ( col ? k : 1 ) );
uplo = ( ( left && col ) || !( left || col ) ) ? 'l' : 'u';

if( !forward && ( col && k > nrows_v ) || ( !col && k > ncols_v )) {
if( ( !forward && ( col && k > nrows_v ) ) || ( !col && k > ncols_v )) {
LAPACKE_xerbla( "LAPACKE_clarfb", -8 );
return -8;
}
Expand Down
2 changes: 1 addition & 1 deletion LAPACKE/src/lapacke_clarfb_work.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ lapack_int LAPACKE_clarfb_work( int matrix_layout, char side, char trans,
LAPACKE_xerbla( "LAPACKE_clarfb_work", info );
return info;
}
if( !forward && ( col && k > nrows_v ) || ( !col && k > ncols_v )) {
if( ( !forward && ( col && k > nrows_v ) ) || ( !col && k > ncols_v )) {
info = -8;
LAPACKE_xerbla( "LAPACKE_clarfb_work", info );
return info;
Expand Down
2 changes: 1 addition & 1 deletion LAPACKE/src/lapacke_dlarfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ lapack_int LAPACKE_dlarfb( int matrix_layout, char side, char trans, char direct
ncols_v = ( !col && left ) ? m : ( ( !col && !left ) ? n : ( col ? k : 1 ) );
uplo = ( ( left && col ) || !( left || col ) ) ? 'l' : 'u';

if( !forward && ( col && k > nrows_v ) || ( !col && k > ncols_v )) {
if( ( !forward && ( col && k > nrows_v ) ) || ( !col && k > ncols_v )) {
LAPACKE_xerbla( "LAPACKE_dlarfb", -8 );
return -8;
}
Expand Down
2 changes: 1 addition & 1 deletion LAPACKE/src/lapacke_dlarfb_work.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ lapack_int LAPACKE_dlarfb_work( int matrix_layout, char side, char trans,
LAPACKE_xerbla( "LAPACKE_dlarfb_work", info );
return info;
}
if( !forward && ( col && k > nrows_v ) || ( !col && k > ncols_v )) {
if( ( !forward && ( col && k > nrows_v ) ) || ( !col && k > ncols_v )) {
info = -8;
LAPACKE_xerbla( "LAPACKE_dlarfb_work", info );
return info;
Expand Down
2 changes: 1 addition & 1 deletion LAPACKE/src/lapacke_slarfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ lapack_int LAPACKE_slarfb( int matrix_layout, char side, char trans, char direct
ncols_v = ( !col && left ) ? m : ( ( !col && !left ) ? n : ( col ? k : 1 ) );
uplo = ( ( left && col ) || !( left || col ) ) ? 'l' : 'u';

if( !forward && ( col && k > nrows_v ) || ( !col && k > ncols_v )) {
if( ( !forward && ( col && k > nrows_v ) ) || ( !col && k > ncols_v )) {
LAPACKE_xerbla( "LAPACKE_slarfb", -8 );
return -8;
}
Expand Down
2 changes: 1 addition & 1 deletion LAPACKE/src/lapacke_slarfb_work.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ lapack_int LAPACKE_slarfb_work( int matrix_layout, char side, char trans,
LAPACKE_xerbla( "LAPACKE_slarfb_work", info );
return info;
}
if( !forward && ( col && k > nrows_v ) || ( !col && k > ncols_v )) {
if( ( !forward && ( col && k > nrows_v ) ) || ( !col && k > ncols_v )) {
info = -8;
LAPACKE_xerbla( "LAPACKE_slarfb_work", info );
return info;
Expand Down
2 changes: 1 addition & 1 deletion LAPACKE/src/lapacke_zlarfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ lapack_int LAPACKE_zlarfb( int matrix_layout, char side, char trans, char direct
ncols_v = ( !col && left ) ? m : ( ( !col && !left ) ? n : ( col ? k : 1 ) );
uplo = ( ( left && col ) || !( left || col ) ) ? 'l' : 'u';

if( !forward && ( col && k > nrows_v ) || ( !col && k > ncols_v )) {
if( ( !forward && ( col && k > nrows_v ) ) || ( !col && k > ncols_v )) {
LAPACKE_xerbla( "LAPACKE_zlarfb", -8 );
return -8;
}
Expand Down
2 changes: 1 addition & 1 deletion LAPACKE/src/lapacke_zlarfb_work.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ lapack_int LAPACKE_zlarfb_work( int matrix_layout, char side, char trans,
LAPACKE_xerbla( "LAPACKE_zlarfb_work", info );
return info;
}
if( !forward && ( col && k > nrows_v ) || ( !col && k > ncols_v )) {
if( ( !forward && ( col && k > nrows_v ) ) || ( !col && k > ncols_v )) {
info = -8;
LAPACKE_xerbla( "LAPACKE_zlarfb_work", info );
return info;
Expand Down