diff libinterp/corefcn/filter.cc @ 23592:80e3bfb7bd5a

maint: Deprecate is_vector and replace with isvector. * Array.h (is_vector): Use OCTAVE_DEPRECATED macro around function. * Array.h (isvector): New function. * dim-vector.h (is_vector): Use OCTAVE_DEPRECATED macro around function. * dim-vector.h (isvector): New function. * idx-vector.h (is_vector): Use OCTAVE_DEPRECATED macro around function. * idx-vector.h (isvector): New function. * cellfun.cc, data.cc, dot.cc, filter.cc, utils.cc, ov-class.cc, ov-java.cc, Array-util.cc, Array-util.h, Array.cc, Range.cc, Sparse.cc, idx-vector.cc, oct-string.cc: Replace instances of is_vector with isvector.
author Rik <rik@octave.org>
date Tue, 13 Jun 2017 20:51:14 -0700
parents c3075ae020e1
children 194eb4bd202b
line wrap: on
line diff
--- a/libinterp/corefcn/filter.cc	Tue Jun 13 18:36:18 2017 -0400
+++ b/libinterp/corefcn/filter.cc	Tue Jun 13 20:51:14 2017 -0700
@@ -388,7 +388,7 @@
             {
               si = args(3).xfloat_complex_array_value (x_si_errmsg);
 
-              if (si.is_vector () && x.is_vector ())
+              if (si.isvector () && x.isvector ())
                 si = si.reshape (dim_vector (si.numel (), 1));
             }
 
@@ -423,7 +423,7 @@
             {
               si = args(3).xcomplex_array_value (x_si_errmsg);
 
-              if (si.is_vector () && x.is_vector ())
+              if (si.isvector () && x.isvector ())
                 si = si.reshape (dim_vector (si.numel (), 1));
             }
 
@@ -461,7 +461,7 @@
             {
               si = args(3).xfloat_array_value (x_si_errmsg);
 
-              if (si.is_vector () && x.is_vector ())
+              if (si.isvector () && x.isvector ())
                 si = si.reshape (dim_vector (si.numel (), 1));
             }
 
@@ -496,7 +496,7 @@
             {
               si = args(3).xarray_value (x_si_errmsg);
 
-              if (si.is_vector () && x.is_vector ())
+              if (si.isvector () && x.isvector ())
                 si = si.reshape (dim_vector (si.numel (), 1));
             }