diff liboctave/chNDArray.h @ 8626:1dce30ab0e72

don't convert NaN to logical in bool expressions
author John W. Eaton <jwe@octave.org>
date Thu, 29 Jan 2009 12:50:25 -0500
parents 36594d5bbe13
children b756ce0002db
line wrap: on
line diff
--- a/liboctave/chNDArray.h
+++ b/liboctave/chNDArray.h
@@ -61,6 +61,8 @@
       return *this;
     }
 
+  bool any_element_is_nan (void) const { return false; }
+
   // FIXME -- this is not quite the right thing.
 
   boolNDArray all (int dim = -1) const;