Corrected previous commit
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 23 Mar 2012 21:28:37 +0000 (22:28 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 23 Mar 2012 21:28:37 +0000 (22:28 +0100)
src/math/chart-geometry.c

index 573459892e109781e4eaa079ed0d34d5549cbfc7..3ad02539bafef389fc695a11ea510561d0815a51 100644 (file)
@@ -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))) ;