diff liboctave/intNDArray.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 724c0f46d9d4
line wrap: on
line diff
--- a/liboctave/intNDArray.h
+++ b/liboctave/intNDArray.h
@@ -63,6 +63,7 @@
 
   boolNDArray operator ! (void) const;
 
+  bool any_element_is_nan (void) const { return false; }
   bool any_element_not_one_or_zero (void) const;
 
   intNDArray diag (octave_idx_type k = 0) const;