Mentions légales du service

Skip to content
Snippets Groups Projects
Commit dc20ced5 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Merge branch 'hotfix/sonarqube' into 'master'

sonarqube: Fix recent issues reported by sonarqube

See merge request !403
parents 43247c00 938db006
No related branches found
No related tags found
1 merge request!403sonarqube: Fix recent issues reported by sonarqube
...@@ -203,12 +203,12 @@ void chameleon_pzgered( cham_uplo_t uplo, double prec, CHAM_desc_t *A, ...@@ -203,12 +203,12 @@ void chameleon_pzgered( cham_uplo_t uplo, double prec, CHAM_desc_t *A,
*/ */
if ( prec < 0. ) { if ( prec < 0. ) {
#if !defined(CHAMELEON_SIMULATION) #if !defined(CHAMELEON_SIMULATION)
double eps = LAPACKE_dlamch_work('e'); eps = LAPACKE_dlamch_work('e');
#else #else
#if defined(PRECISION_z) || defined(PRECISION_d) #if defined(PRECISION_z) || defined(PRECISION_d)
double eps = 1.e-15; eps = 1.e-15;
#else #else
double eps = 1.e-7; eps = 1.e-7;
#endif #endif
#endif #endif
} }
......
...@@ -38,7 +38,6 @@ testing_zsysv_desc( run_arg_list_t *args, int check ) ...@@ -38,7 +38,6 @@ testing_zsysv_desc( run_arg_list_t *args, int check )
/* Read arguments */ /* Read arguments */
int async = parameters_getvalue_int( "async" ); int async = parameters_getvalue_int( "async" );
int nb = run_arg_get_int( args, "nb", 320 ); int nb = run_arg_get_int( args, "nb", 320 );
int P = parameters_getvalue_int( "P" );
cham_uplo_t uplo = run_arg_get_uplo( args, "uplo", ChamUpper ); cham_uplo_t uplo = run_arg_get_uplo( args, "uplo", ChamUpper );
int N = run_arg_get_int( args, "N", 1000 ); int N = run_arg_get_int( args, "N", 1000 );
int NRHS = run_arg_get_int( args, "NRHS", 1 ); int NRHS = run_arg_get_int( args, "NRHS", 1 );
...@@ -46,7 +45,6 @@ testing_zsysv_desc( run_arg_list_t *args, int check ) ...@@ -46,7 +45,6 @@ testing_zsysv_desc( run_arg_list_t *args, int check )
int LDB = run_arg_get_int( args, "LDB", N ); int LDB = run_arg_get_int( args, "LDB", N );
int seedA = run_arg_get_int( args, "seedA", testing_ialea() ); int seedA = run_arg_get_int( args, "seedA", testing_ialea() );
int seedB = run_arg_get_int( args, "seedB", testing_ialea() ); int seedB = run_arg_get_int( args, "seedB", testing_ialea() );
int Q = parameters_compute_q( P );
/* Descriptors */ /* Descriptors */
CHAM_desc_t *descA, *descX; CHAM_desc_t *descA, *descX;
......
...@@ -31,12 +31,10 @@ testing_zsytrf_desc( run_arg_list_t *args, int check ) ...@@ -31,12 +31,10 @@ testing_zsytrf_desc( run_arg_list_t *args, int check )
/* Read arguments */ /* Read arguments */
int async = parameters_getvalue_int( "async" ); int async = parameters_getvalue_int( "async" );
int nb = run_arg_get_int( args, "nb", 320 ); int nb = run_arg_get_int( args, "nb", 320 );
int P = parameters_getvalue_int( "P" );
cham_uplo_t uplo = run_arg_get_uplo( args, "uplo", ChamUpper ); cham_uplo_t uplo = run_arg_get_uplo( args, "uplo", ChamUpper );
int N = run_arg_get_int( args, "N", 1000 ); int N = run_arg_get_int( args, "N", 1000 );
int LDA = run_arg_get_int( args, "LDA", N ); int LDA = run_arg_get_int( args, "LDA", N );
int seedA = run_arg_get_int( args, "seedA", testing_ialea() ); int seedA = run_arg_get_int( args, "seedA", testing_ialea() );
int Q = parameters_compute_q( P );
/* Descriptors */ /* Descriptors */
CHAM_desc_t *descA; CHAM_desc_t *descA;
......
...@@ -32,7 +32,6 @@ testing_zsytrs_desc( run_arg_list_t *args, int check ) ...@@ -32,7 +32,6 @@ testing_zsytrs_desc( run_arg_list_t *args, int check )
/* Read arguments */ /* Read arguments */
int async = parameters_getvalue_int( "async" ); int async = parameters_getvalue_int( "async" );
int nb = run_arg_get_int( args, "nb", 320 ); int nb = run_arg_get_int( args, "nb", 320 );
int P = parameters_getvalue_int( "P" );
cham_uplo_t uplo = run_arg_get_uplo( args, "uplo", ChamUpper ); cham_uplo_t uplo = run_arg_get_uplo( args, "uplo", ChamUpper );
int N = run_arg_get_int( args, "N", 1000 ); int N = run_arg_get_int( args, "N", 1000 );
int NRHS = run_arg_get_int( args, "NRHS", 1 ); int NRHS = run_arg_get_int( args, "NRHS", 1 );
...@@ -40,7 +39,6 @@ testing_zsytrs_desc( run_arg_list_t *args, int check ) ...@@ -40,7 +39,6 @@ testing_zsytrs_desc( run_arg_list_t *args, int check )
int LDB = run_arg_get_int( args, "LDB", N ); int LDB = run_arg_get_int( args, "LDB", N );
int seedA = run_arg_get_int( args, "seedA", testing_ialea() ); int seedA = run_arg_get_int( args, "seedA", testing_ialea() );
int seedB = run_arg_get_int( args, "seedB", testing_ialea() ); int seedB = run_arg_get_int( args, "seedB", testing_ialea() );
int Q = parameters_compute_q( P );
/* Descriptors */ /* Descriptors */
CHAM_desc_t *descA, *descX; CHAM_desc_t *descA, *descX;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment