diff src/DLD-FUNCTIONS/gcd.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 61a6c99d8ff7
children 978802964923
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/gcd.cc	Wed Jan 05 21:21:37 2011 -0800
+++ b/src/DLD-FUNCTIONS/gcd.cc	Thu Jan 06 03:10:24 2011 -0500
@@ -61,11 +61,11 @@
 // implements template aliases from C++0x, can do a small fix here).
 template <typename FP>
 static void
-divide(const std::complex<FP>& a, const std::complex<FP>& b,
-       std::complex<FP>& q, std::complex<FP>& r)
+divide (const std::complex<FP>& a, const std::complex<FP>& b,
+        std::complex<FP>& q, std::complex<FP>& r)
 {
-  FP qr = floor ((a/b).real () + 0.5);
-  FP qi = floor ((a/b).imag () + 0.5);
+  FP qr = gnulib::floor ((a/b).real () + 0.5);
+  FP qi = gnulib::floor ((a/b).imag () + 0.5);
 
   q = std::complex<FP> (qr, qi);