Mercurial > octave
diff libinterp/operators/op-s-scm.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-s-scm.cc Mon Aug 16 21:38:22 2021 -0400 +++ b/libinterp/operators/op-s-scm.cc Mon Aug 16 22:28:30 2021 -0400 @@ -95,7 +95,7 @@ DEFBINOP_FN (ne, scalar, sparse_complex_matrix, mx_el_ne) DEFBINOP_OP (el_mul, scalar, sparse_complex_matrix, *) -DEFBINOP_FN (el_div, scalar, sparse_complex_matrix, x_el_div) +DEFBINOP_FN (el_div, scalar, sparse_complex_matrix, elem_xdiv) DEFBINOP_FN (el_pow, scalar, sparse_complex_matrix, elem_xpow) DEFBINOP (el_ldiv, scalar, sparse_complex_matrix)