diff libinterp/dldfcn/chol.cc @ 23582:0cc2011d800e

maint: Deprecate is_real_type and replace with isreal. * ov.h (is_real_type): Use OCTAVE_DEPRECATED macro around function. * ov.h (isreal): New function. * QtHandlesUtils.cc, __luinc__.cc, bsxfun.cc, cellfun.cc, conv2.cc, data.cc, det.cc, eig.cc, ellipj.cc, fft.cc, fft2.cc, fftn.cc, find.cc, graphics.cc, graphics.in.h, gsvd.cc, hess.cc, inv.cc, lu.cc, mex.cc, oct-stream.cc, pinv.cc, psi.cc, qz.cc, schur.cc, svd.cc, typecast.cc, chol.cc, dmperm.cc, qr.cc, symbfact.cc, symrcm.cc, ov-base-int.h, ov-base.h, ov-bool-mat.h, ov-bool-sparse.h, ov-bool.h, ov-ch-mat.h, ov-float.h, ov-flt-re-diag.h, ov-flt-re-mat.h, ov-java.cc, ov-lazy-idx.h, ov-perm.h, ov-range.h, ov-re-diag.h, ov-re-mat.h, ov-re-sparse.h, ov-scalar.h, pt-tm-const.cc: Replace instances of is_real_type with isreal.
author Rik <rik@octave.org>
date Tue, 13 Jun 2017 07:53:53 -0700
parents c3075ae020e1
children b7747a2c88b2
line wrap: on
line diff
--- a/libinterp/dldfcn/chol.cc	Mon Jun 12 21:18:23 2017 -0700
+++ b/libinterp/dldfcn/chol.cc	Tue Jun 13 07:53:53 2017 -0700
@@ -185,7 +185,7 @@
       bool natural = (nargout != 3);
       bool force = nargout > 1;
 
-      if (arg.is_real_type ())
+      if (arg.isreal ())
         {
           SparseMatrix m = arg.sparse_matrix_value ();
 
@@ -242,7 +242,7 @@
     {
       if (vecout)
         error ("chol: A must be sparse for the \"vector\" option");
-      if (arg.is_real_type ())
+      if (arg.isreal ())
         {
           FloatMatrix m = arg.float_matrix_value ();
 
@@ -275,7 +275,7 @@
     {
       if (vecout)
         error ("chol: A must be sparse for the \"vector\" option");
-      if (arg.is_real_type ())
+      if (arg.isreal ())
         {
           Matrix m = arg.matrix_value ();
 
@@ -378,7 +378,7 @@
         {
           octave_idx_type info;
 
-          if (arg.is_real_type ())
+          if (arg.isreal ())
             {
               SparseMatrix m = arg.sparse_matrix_value ();
 
@@ -405,7 +405,7 @@
         }
       else if (arg.is_single_type ())
         {
-          if (arg.is_real_type ())
+          if (arg.isreal ())
             {
               FloatMatrix m = arg.float_matrix_value ();
 
@@ -432,7 +432,7 @@
         }
       else
         {
-          if (arg.is_real_type ())
+          if (arg.isreal ())
             {
               Matrix m = arg.matrix_value ();
 
@@ -505,7 +505,7 @@
     {
       if (arg.is_sparse_type ())
         {
-          if (arg.is_real_type ())
+          if (arg.isreal ())
             {
               SparseMatrix r = arg.sparse_matrix_value ();
 
@@ -522,7 +522,7 @@
         }
       else if (arg.is_single_type ())
         {
-          if (arg.is_real_type ())
+          if (arg.isreal ())
             {
               FloatMatrix r = arg.float_matrix_value ();
 
@@ -540,7 +540,7 @@
         }
       else
         {
-          if (arg.is_real_type ())
+          if (arg.isreal ())
             {
               Matrix r = arg.matrix_value ();
 
@@ -650,7 +650,7 @@
   int err = 0;
   if (argr.is_single_type () || argu.is_single_type ())
     {
-      if (argr.is_real_type () && argu.is_real_type ())
+      if (argr.isreal () && argu.isreal ())
         {
           // real case
           FloatMatrix R = argr.float_matrix_value ();
@@ -686,7 +686,7 @@
     }
   else
     {
-      if (argr.is_real_type () && argu.is_real_type ())
+      if (argr.isreal () && argu.isreal ())
         {
           // real case
           Matrix R = argr.matrix_value ();
@@ -841,7 +841,7 @@
   int err = 0;
   if (argr.is_single_type () || argu.is_single_type ())
     {
-      if (argr.is_real_type () && argu.is_real_type ())
+      if (argr.isreal () && argu.isreal ())
         {
           // real case
           FloatMatrix R = argr.float_matrix_value ();
@@ -869,7 +869,7 @@
     }
   else
     {
-      if (argr.is_real_type () && argu.is_real_type ())
+      if (argr.isreal () && argu.isreal ())
         {
           // real case
           Matrix R = argr.matrix_value ();
@@ -1077,7 +1077,7 @@
 
   if (argr.is_single_type ())
     {
-      if (argr.is_real_type ())
+      if (argr.isreal ())
         {
           // real case
           FloatMatrix R = argr.float_matrix_value ();
@@ -1102,7 +1102,7 @@
     }
   else
     {
-      if (argr.is_real_type ())
+      if (argr.isreal ())
         {
           // real case
           Matrix R = argr.matrix_value ();
@@ -1207,7 +1207,7 @@
   if (argr.is_single_type () && argi.is_single_type ()
       && argj.is_single_type ())
     {
-      if (argr.is_real_type ())
+      if (argr.isreal ())
         {
           // real case
           FloatMatrix R = argr.float_matrix_value ();
@@ -1232,7 +1232,7 @@
     }
   else
     {
-      if (argr.is_real_type ())
+      if (argr.isreal ())
         {
           // real case
           Matrix R = argr.matrix_value ();