diff src/OPERATORS/op-cm-cm.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-cm-cm.cc	Sat Sep 04 01:16:28 2004 +0000
+++ b/src/OPERATORS/op-cm-cm.cc	Mon Sep 06 20:19:57 2004 +0000
@@ -40,6 +40,7 @@
 // unary complex matrix ops.
 
 DEFNDUNOP_OP (not, complex_matrix, complex_array, !)
+DEFNDUNOP_OP (uplus, complex_matrix, complex_array, /* no-op */)
 DEFNDUNOP_OP (uminus, complex_matrix, complex_array, -)
 
 DEFUNOP (transpose, complex_matrix)
@@ -116,6 +117,7 @@
 install_cm_cm_ops (void)
 {
   INSTALL_UNOP (op_not, octave_complex_matrix, not);
+  INSTALL_UNOP (op_uplus, octave_complex_matrix, uplus);
   INSTALL_UNOP (op_uminus, octave_complex_matrix, uminus);
   INSTALL_UNOP (op_transpose, octave_complex_matrix, transpose);
   INSTALL_UNOP (op_hermitian, octave_complex_matrix, hermitian);