diff liboctave/Range.cc @ 11450:5eb10763069f

substitute and use LAPACK_LIBS in mkoctfile script
author John W. Eaton <jwe@octave.org>
date Thu, 06 Jan 2011 03:10:24 -0500
parents e5ae13b8b2c2
children fd0a3ac60b0e
line wrap: on
line diff
--- a/liboctave/Range.cc	Wed Jan 05 21:21:37 2011 -0800
+++ b/liboctave/Range.cc	Thu Jan 06 03:10:24 2011 -0500
@@ -438,11 +438,11 @@
 
   double rmax = q / (2.0 - ct);
 
-  double t1 = 1.0 + floor (x);
+  double t1 = 1.0 + gnulib::floor (x);
   t1 = (ct / q) * (t1 < 0.0 ? -t1 : t1);
   t1 = rmax < t1 ? rmax : t1;
   t1 = ct > t1 ? ct : t1;
-  t1 = floor (x + t1);
+  t1 = gnulib::floor (x + t1);
 
   if (x <= 0.0 || (t1 - x) < rmax)
     return t1;