From: John Darrington <john@darrington.wattle.id.au>
Date: Fri, 23 Mar 2012 21:28:37 +0000 (+0100)
Subject: Corrected previous commit
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=849612c47d1186efe84b310256a3dd7476db7c72;p=pspp

Corrected previous commit
---

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))) ;