diff liboctave/CMatrix.cc @ 9553:0c72d9284087

further bool ops tweaks
author Jaroslav Hajek <highegg@gmail.com>
date Fri, 21 Aug 2009 12:12:25 +0200
parents 19d298e6f7e5
children 7dafdb8b062f
line wrap: on
line diff
--- a/liboctave/CMatrix.cc
+++ b/liboctave/CMatrix.cc
@@ -3058,8 +3058,7 @@
 boolMatrix
 ComplexMatrix::operator ! (void) const
 {
-  ND_LOGICAL_NAN_CHECK (*this);
-  return do_mx_unary_op<boolMatrix, ComplexMatrix> (*this, mx_inline_iszero);
+  return do_mx_unary_op<boolMatrix, ComplexMatrix> (*this, mx_inline_not);
 }
 
 // other operations