Mentions légales du service

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

Correct if test from !480

parent 790f4633
No related branches found
No related tags found
1 merge request!482Correct if test from !480
...@@ -167,14 +167,16 @@ int main (int argc, char **argv) { ...@@ -167,14 +167,16 @@ int main (int argc, char **argv) {
testing_options_init( &options ); testing_options_init( &options );
#if !defined(CHAMELEON_SIMULATION) && (defined(PRECISION_z) || defined(PRECISION_d)) #if !defined(CHAMELEON_SIMULATION)
/* Let's initialize the accuracy for the checks */ /* Let's initialize the accuracy for the checks */
{ {
#if (defined(PRECISION_z) || defined(PRECISION_d))
cham_fixdbl_t accuracy = parameters_getvalue_fixdbl( "appaccuracy" ); cham_fixdbl_t accuracy = parameters_getvalue_fixdbl( "appaccuracy" );
if ( accuracy > 0 ) { if ( accuracy > 0 ) {
testing_setaccuracy( accuracy ); testing_setaccuracy( accuracy );
} }
else else
#endif
{ {
testing_setaccuracy( LAPACKE_dlamch_work('e') ); testing_setaccuracy( LAPACKE_dlamch_work('e') );
} }
......
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