changeset 11433:9f4321024fbf

make insumeric return false on sparse logicals
author Jaroslav Hajek <highegg@gmail.com>
date Sun, 02 Jan 2011 12:34:05 +0100
parents da51bc237526
children 1f54ee6760b5
files src/ChangeLog src/ov-bool-sparse.h
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Dec 31 15:02:57 2010 -0800
+++ b/src/ChangeLog	Sun Jan 02 12:34:05 2011 +0100
@@ -1,3 +1,8 @@
+2011-01-02  Jaroslav Hajek  <highegg@gmail.com>
+
+	* ov-bool-sparse.h (octave_sparse_bool_matrix::is_numeric_type): New
+	virtual method override.
+
 2010-12-31  Rik  <octave@nomad.inbox5.com>
 
 	* toplev.cc (system): Add additional calling form "shell_cmd" to
--- a/src/ov-bool-sparse.h	Fri Dec 31 15:02:57 2010 -0800
+++ b/src/ov-bool-sparse.h	Sun Jan 02 12:34:05 2011 +0100
@@ -95,6 +95,8 @@
 
   bool is_real_type (void) const { return true; }
 
+  bool is_numeric_type (void) const { return false; }
+
   double double_value (bool = false) const;
 
   double scalar_value (bool frc_str_conv = false) const