diff libinterp/corefcn/schur.cc @ 23586:f6c5db0a02e7

maint: Deprecate is_numeric_type and replace with isnumeric. * ov.h (is_numeric_type): Use OCTAVE_DEPRECATED macro around function. * ov.h (isnumeric): New function. * make_int.cc, besselj.cc, cellfun.cc, data.cc, dot.cc, file-io.cc, graphics.cc, load-path.cc, lookup.cc, lu.cc, mex.cc, mgorth.cc, oct-hist.cc, pr-output.cc, schur.cc, sparse.cc, sqrtm.cc, sub2ind.cc, typecast.cc, utils.cc, chol.cc, qr.cc, ov-base-diag.h, ov-base-mat.h, ov-base-scalar.h, ov-base-sparse.h, ov-base.cc, ov-base.h, ov-bool-mat.cc, ov-bool-mat.h, ov-bool-sparse.h, ov-bool.h, ov-cell.h, ov-class.cc, ov-fcn-inline.cc, ov-lazy-idx.h, ov-perm.h, ov-range.h, ov-str-mat.h, ov-usr-fcn.cc, bp-table.cc: Replace instances of is_numeric_type with isnumeric.
author Rik <rik@octave.org>
date Tue, 13 Jun 2017 10:20:55 -0700
parents 0cc2011d800e
children 194eb4bd202b
line wrap: on
line diff
--- a/libinterp/corefcn/schur.cc	Tue Jun 13 09:52:59 2017 -0700
+++ b/libinterp/corefcn/schur.cc	Tue Jun 13 10:20:55 2017 -0700
@@ -166,7 +166,7 @@
   if (nr != nc)
     err_square_matrix_required ("schur", "A");
 
-  if (! arg.is_numeric_type ())
+  if (! arg.isnumeric ())
     err_wrong_type_arg ("schur", arg);
 
   octave_value_list retval;
@@ -289,9 +289,9 @@
   if (args.length () != 2 || nargout > 2)
     print_usage ();
 
-  if (! args(0).is_numeric_type ())
+  if (! args(0).isnumeric ())
     err_wrong_type_arg ("rsf2csf", args(0));
-  if (! args(1).is_numeric_type ())
+  if (! args(1).isnumeric ())
     err_wrong_type_arg ("rsf2csf", args(1));
   if (args(0).iscomplex () || args(1).iscomplex ())
     error ("rsf2csf: UR and TR must be real matrices");