diff liboctave/numeric/chol.cc @ 23708:750e42a35adc

Use imag, real, arg from std library for Complex types. * lo-mappers.h (imag, real, arg): Delete overloaded functions from octave::math namespace. Add comment about why overload for conj must remain (different behavior desired than prototype under C++). * ls-mat4.cc, ls-mat5.cc, mgorth.cc, ov-cx-mat.cc, ov-cx-sparse.cc, ov-float.cc, ov-flt-cx-mat.cc, ov-flt-re-mat.cc, ov-re-mat.cc, ov-re-sparse.cc, ov-scalar.cc, CMatrix.cc, CSparse.cc, MatrixType.cc, dMatrix.cc, dSparse.cc, fCMatrix.cc, fMatrix.cc, chol.cc, eigs-base.cc: Replace calls to octave::math::XXX with std::XXX for imag, real, and arg.
author Rik <rik@octave.org>
date Tue, 27 Jun 2017 09:24:08 -0700
parents 08036a7f3660
children 194eb4bd202b
line wrap: on
line diff
--- a/liboctave/numeric/chol.cc	Tue Jun 27 07:57:52 2017 -0400
+++ b/liboctave/numeric/chol.cc	Tue Jun 27 09:24:08 2017 -0700
@@ -333,7 +333,7 @@
 
       if (singular (chol_mat))
         info = 2;
-      else if (math::imag (u(j)) != zero)
+      else if (std::imag (u(j)) != zero)
         info = 3;
       else
         {