diff --git a/octave/liboctave/array/Range.cc b/octave/liboctave/array/Range.cc index 7691ca4..0ab319f 100644 --- a/octave/liboctave/array/Range.cc +++ b/octave/liboctave/array/Range.cc @@ -495,11 +495,11 @@ tfloor (double x, double ct) double rmax = q / (2.0 - ct); - double t1 = 1.0 + gnulib::floor (x); + double t1 = 1.0 + std::floor (x); t1 = (ct / q) * (t1 < 0.0 ? -t1 : t1); t1 = rmax < t1 ? rmax : t1; t1 = ct > t1 ? ct : t1; - t1 = gnulib::floor (x + t1); + t1 = std::floor (x + t1); if (x <= 0.0 || (t1 - x) < rmax) return t1;