summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--orc-test/orcarray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/orc-test/orcarray.c b/orc-test/orcarray.c
index 089b0d1..70283bf 100644
--- a/orc-test/orcarray.c
+++ b/orc-test/orcarray.c
@@ -251,7 +251,7 @@ orc_array_compare (OrcArray *array1, OrcArray *array2, int flags)
for (i=0;i<array1->n;i++){
if (isnan(a[i]) && isnan(b[i])) continue;
if (a[i] == b[i]) continue;
- if (abs(a[i] - b[i]) < MIN_NONDENORMAL_D) continue;
+ if (fabs(a[i] - b[i]) < MIN_NONDENORMAL_D) continue;
return FALSE;
}
}