diff libinterp/corefcn/dot.cc @ 23585:570170b6eb09

maint: Deprecate is_float_type and replace with isfloat. * ov.h (is_float_type): Use OCTAVE_DEPRECATED macro around function. * ov.h (isfloat): New function. * __magick_read__.cc, bsxfun.cc, data.cc, dot.cc, eig.cc, ov-base.h, ov-class.cc, ov-complex.h, ov-cx-diag.h, ov-cx-mat.h, ov-cx-sparse.h, ov-float.h, ov-flt-complex.h, ov-flt-cx-diag.h, ov-flt-cx-mat.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, ov.h: Replace instances of is_float_type with isfloat.
author Rik <rik@octave.org>
date Tue, 13 Jun 2017 09:52:59 -0700
parents c3075ae020e1
children f6c5db0a02e7
line wrap: on
line diff
--- a/libinterp/corefcn/dot.cc	Tue Jun 13 09:20:08 2017 -0700
+++ b/libinterp/corefcn/dot.cc	Tue Jun 13 09:52:59 2017 -0700
@@ -149,7 +149,7 @@
           retval = z;
         }
     }
-  else if (argx.is_float_type () && argy.is_float_type ())
+  else if (argx.isfloat () && argy.isfloat ())
     {
       if (argx.is_single_type () || argy.is_single_type ())
         {