Mentions légales du service

Skip to content
Snippets Groups Projects
Commit ca863bfb authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

Merge branch 'hotfix/accuracy' into 'master'

Correct if test from !480

See merge request solverstack/chameleon!482
parents 790f4633 f31252bb
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) {
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') );
}
......
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