diff liboctave/fCNDArray.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/fCNDArray.cc	Fri Aug 21 10:13:53 2009 +0200
+++ b/liboctave/fCNDArray.cc	Fri Aug 21 12:12:25 2009 +0200
@@ -492,8 +492,7 @@
 boolNDArray
 FloatComplexNDArray::operator ! (void) const
 {
-  ND_LOGICAL_NAN_CHECK (*this);
-  return do_mx_unary_op<boolNDArray, FloatComplexNDArray> (*this, mx_inline_iszero);
+  return do_mx_unary_op<boolNDArray, FloatComplexNDArray> (*this, mx_inline_not);
 }
 
 // FIXME -- this is not quite the right thing.