Mercurial > octave
diff libinterp/corefcn/eig.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 | 0cc2011d800e |
children | 90689bdbe048 |
line wrap: on
line diff
--- a/libinterp/corefcn/eig.cc Tue Jun 13 09:20:08 2017 -0700 +++ b/libinterp/corefcn/eig.cc Tue Jun 13 09:52:59 2017 -0700 @@ -111,7 +111,7 @@ if (arg_a.isempty ()) return octave_value_list (2, Matrix ()); - if (! arg_a.is_float_type ()) + if (! arg_a.isfloat ()) err_wrong_type_arg ("eig", arg_a); if (arg_a.rows () != arg_a.columns ()) @@ -127,7 +127,7 @@ if (arg_b.isempty ()) return octave_value_list (2, Matrix ()); - if (! arg_b.is_float_type ()) + if (! arg_b.isfloat ()) err_wrong_type_arg ("eig", arg_b); if (arg_b.rows () != arg_b.columns ())