Mercurial > octave
diff libinterp/octave-value/ov-complex.cc @ 23619:6ed4d6e306ba
maint: Deprecate is_NA and replace with isna.
* lo-mappers.h (is_NA): Use OCTAVE_DEPRECATED macro around function.
* lo-mappers.h (isna): New function.
* lo-mappers.h (octave_is_NA): Change message for this already deprecated
function to say that replacement is octave::math::isna.
* pr-output.cc, ov-complex.cc, ov-cx-mat.cc, ov-cx-sparse.cc, ov-float.cc,
ov-flt-complex.cc, ov-flt-cx-mat.cc, ov-flt-re-mat.cc, ov-re-mat.cc,
ov-re-sparse.cc, ov-scalar.cc, lo-mappers.cc:
Replace instances of is_NA with isna.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 16 Jun 2017 11:50:50 -0700 |
parents | 7049da1648c0 |
children | 980f39c3ab90 |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-complex.cc Fri Jun 16 09:03:10 2017 -0700 +++ b/libinterp/octave-value/ov-complex.cc Fri Jun 16 11:50:50 2017 -0700 @@ -523,7 +523,7 @@ SCALAR_MAPPER (tanh, std::tanh); SCALAR_MAPPER (isfinite, octave::math::isfinite); SCALAR_MAPPER (isinf, octave::math::isinf); - SCALAR_MAPPER (isna, octave::math::is_NA); + SCALAR_MAPPER (isna, octave::math::isna); SCALAR_MAPPER (isnan, octave::math::isnan); default: