From 849612c47d1186efe84b310256a3dd7476db7c72 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Fri, 23 Mar 2012 22:28:37 +0100 Subject: [PATCH] Corrected previous commit --- src/math/chart-geometry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math/chart-geometry.c b/src/math/chart-geometry.c index 573459892e..3ad02539ba 100644 --- a/src/math/chart-geometry.c +++ b/src/math/chart-geometry.c @@ -35,7 +35,7 @@ chart_rounded_tick(double tick) double factor; /* Avoid arithmetic problems with very small values */ - if (abs (tick) < DBL_EPSILON) + if (fabs (tick) < DBL_EPSILON) return 0; factor = pow(10,ceil(log10(standard_ticks[0] / tick))) ; -- 2.30.2