Mercurial > octave
diff src/OPERATORS/op-cs-cs.cc @ 4965:c0d8e8afa82f
[project @ 2004-09-06 20:19:57 by jwe]
author | jwe |
---|---|
date | Mon, 06 Sep 2004 20:19:57 +0000 |
parents | c638c144d4da |
children | 57077d0ddc8e |
line wrap: on
line diff
--- a/src/OPERATORS/op-cs-cs.cc Sat Sep 04 01:16:28 2004 +0000 +++ b/src/OPERATORS/op-cs-cs.cc Mon Sep 06 20:19:57 2004 +0000 @@ -47,6 +47,7 @@ return octave_value (v.complex_value () == 0.0); } +DEFUNOP_OP (uplus, complex, /* no-op */) DEFUNOP_OP (uminus, complex, -) DEFUNOP_OP (transpose, complex, /* no-op */) @@ -182,6 +183,7 @@ install_cs_cs_ops (void) { INSTALL_UNOP (op_not, octave_complex, not); + INSTALL_UNOP (op_uplus, octave_complex, uplus); INSTALL_UNOP (op_uminus, octave_complex, uminus); INSTALL_UNOP (op_transpose, octave_complex, transpose); INSTALL_UNOP (op_hermitian, octave_complex, hermitian);