Mentions légales du service

Skip to content
Snippets Groups Projects

Correct if test from !480

Merged Mathieu Faverge requested to merge faverge/chameleon:hotfix/accuracy into master
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
@@ -167,14 +167,16 @@ int main (int argc, char **argv) {
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 */
{
#if (defined(PRECISION_z) || defined(PRECISION_d))
cham_fixdbl_t accuracy = parameters_getvalue_fixdbl( "appaccuracy" );
if ( accuracy > 0 ) {
testing_setaccuracy( accuracy );
}
else
#endif
{
testing_setaccuracy( LAPACKE_dlamch_work('e') );
}
Loading