diff liboctave/oct-inttypes.h @ 7922:935be827eaf8

error for NaN values in & and | expressions
author John W. Eaton <jwe@octave.org>
date Fri, 11 Jul 2008 14:56:30 -0400
parents 82be108cc558
children 2b8952e133c9
line wrap: on
line diff
--- a/liboctave/oct-inttypes.h	Thu Jul 10 17:36:20 2008 -0400
+++ b/liboctave/oct-inttypes.h	Fri Jul 11 14:56:30 2008 -0400
@@ -408,6 +408,13 @@
 };
 
 template <class T>
+bool
+xisnan (const octave_int<T>&)
+{
+  return false;
+}
+
+template <class T>
 octave_int<T>
 pow (const octave_int<T>& a, const octave_int<T>& b)
 {