diff --git a/testing/chameleon_ztesting.c b/testing/chameleon_ztesting.c index c8eff16e237bef0dfda7a3feaaa61818113b7a7b..9b7336c18fc0803900b087f878ca287c0dc97ac5 100644 --- a/testing/chameleon_ztesting.c +++ b/testing/chameleon_ztesting.c @@ -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') ); }