diff --git a/testing/chameleon_ztesting.c b/testing/chameleon_ztesting.c
index 9cfa979afcdda2384a087a3395a83bc178c2a2e2..c8eff16e237bef0dfda7a3feaaa61818113b7a7b 100644
--- a/testing/chameleon_ztesting.c
+++ b/testing/chameleon_ztesting.c
@@ -167,7 +167,7 @@ int main (int argc, char **argv) {
 
     testing_options_init( &options );
 
-#if !defined(CHAMELEON_SIMULATION)
+#if !defined(CHAMELEON_SIMULATION) && (defined(PRECISION_z) || defined(PRECISION_d))
     /* Let's initialize the accuracy for the checks */
     {
         cham_fixdbl_t accuracy = parameters_getvalue_fixdbl( "appaccuracy" );