summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/test/parallel/omp_parallel_reduction.c
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/test/parallel/omp_parallel_reduction.c')
-rw-r--r--openmp/runtime/test/parallel/omp_parallel_reduction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/runtime/test/parallel/omp_parallel_reduction.c b/openmp/runtime/test/parallel/omp_parallel_reduction.c
index 12783f28616..bb00939aed9 100644
--- a/openmp/runtime/test/parallel/omp_parallel_reduction.c
+++ b/openmp/runtime/test/parallel/omp_parallel_reduction.c
@@ -49,7 +49,7 @@ int test_omp_parallel_reduction()
if(known_sum!=sum) {
result++;
- fprintf(stderr,"Error in sum with integers: Result was %d instead of %d\n",sum,known_sum);
+ fprintf(stderr,"Error in sum with integers: Result was %d instead of %d\n",sum,known_sum);
}
diff = (LOOPCOUNT*(LOOPCOUNT+1))/2;
@@ -76,7 +76,7 @@ int test_omp_parallel_reduction()
}
if( fabs(dsum-dknown_sum) > rounding_error ) {
- result++;
+ result++;
fprintf(stderr,"Error in sum with doubles: Result was %f instead of %f (Difference: %E)\n",dsum,dknown_sum, dsum-dknown_sum);
}
OpenPOWER on IntegriCloud