diff libinterp/corefcn/find.cc @ 23579:c20a0fa91c0c

maint: Deprecate is_bool_type and replace with islogical. * ov.h (is_bool_type): Use OCTAVE_DEPRECATED macro around function. * ov.h (islogical): New function. * __magick_read__.cc, besselj.cc, cellfun.cc, data.cc, find.cc, graphics.cc, ls-mat5.cc, mex.cc, sparse.cc, typecast.cc, ov-base.h, ov-bool-mat.cc, ov-bool-mat.h, ov-bool-sparse.h, ov-bool.h, ov-java.cc, ov.h: Replace instances of is_bool_type with islogical.
author Rik <rik@octave.org>
date Mon, 12 Jun 2017 17:24:08 -0700
parents 80c42f4cca13
children 2230f9e10fb3
line wrap: on
line diff
--- a/libinterp/corefcn/find.cc	Mon Jun 12 13:41:35 2017 -0700
+++ b/libinterp/corefcn/find.cc	Mon Jun 12 17:24:08 2017 -0700
@@ -425,7 +425,7 @@
 
   octave_value arg = args(0);
 
-  if (arg.is_bool_type ())
+  if (arg.islogical ())
     {
       if (arg.is_sparse_type ())
         {