Mercurial > octave
diff libinterp/operators/op-sm-s.cc @ 29990:b839c36fd106
move sparse xdiv and xpow operator functions inside octave namespace
* sparse-xdiv.h, sparse-xdiv.cc (elem_xdiv): Rename from x_el_div.
(elem_xdiv, xdiv): Move inside octave namespace. Change all uses.
Provide deprecated wrapper functions to preserve old names.
* sparse-xpow.h, sparse-xpow.cc (elem_xpow, xpow): Move inside octave
namespace. Change all uses. Provide deprecated wrapper functions to
preserve old names.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 16 Aug 2021 22:28:30 -0400 |
parents | b260322f6730 |
children | 796f54d4ddbf |
line wrap: on
line diff
--- a/libinterp/operators/op-sm-s.cc Mon Aug 16 21:38:22 2021 -0400 +++ b/libinterp/operators/op-sm-s.cc Mon Aug 16 22:28:30 2021 -0400 @@ -110,7 +110,7 @@ const octave_scalar& v2 = dynamic_cast<const octave_scalar&> (a2); return octave_value - (x_el_div (v2.complex_value (), v1.sparse_matrix_value ())); + (elem_xdiv (v2.complex_value (), v1.sparse_matrix_value ())); } DEFBINOP_FN (el_and, sparse_matrix, scalar, mx_el_and)