Mercurial > octave
diff libinterp/corefcn/tril.cc @ 23583:b7747a2c88b2
maint: Deprecate is_sparse_type and replace with issparse.
* ov.h (is_sparse_type): Use OCTAVE_DEPRECATED macro around function.
* ov.h (issparse): New function.
* __luinc__.cc, bsxfun.cc, cellfun.cc, data.cc, det.cc, find.cc, gcd.cc,
graphics.in.h, inv.cc, kron.cc, ls-mat4.cc, ls-mat5.cc, lu.cc, matrix_type.cc,
max.cc, mex.cc, rcond.cc, sparse.cc, tril.cc, variables.cc, xnorm.cc,
__eigs__.cc, __glpk__.cc, amd.cc, ccolamd.cc, chol.cc, colamd.cc, qr.cc,
ov-base-sparse.h, ov-base.h, ov-bool-mat.cc, pt-tm-const.cc:
Replace instances of is_sparse_type with issparse.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 13 Jun 2017 08:24:42 -0700 |
parents | 80c42f4cca13 |
children | 90689bdbe048 |
line wrap: on
line diff
--- a/libinterp/corefcn/tril.cc Tue Jun 13 07:53:53 2017 -0700 +++ b/libinterp/corefcn/tril.cc Tue Jun 13 08:24:42 2017 -0700 @@ -215,14 +215,14 @@ switch (arg.builtin_type ()) { case btyp_double: - if (arg.is_sparse_type ()) + if (arg.issparse ()) retval = do_trilu (arg.sparse_matrix_value (), k, lower, pack); else retval = do_trilu (arg.array_value (), k, lower, pack); break; case btyp_complex: - if (arg.is_sparse_type ()) + if (arg.issparse ()) retval = do_trilu (arg.sparse_complex_matrix_value (), k, lower, pack); else @@ -230,7 +230,7 @@ break; case btyp_bool: - if (arg.is_sparse_type ()) + if (arg.issparse ()) retval = do_trilu (arg.sparse_bool_matrix_value (), k, lower, pack); else