help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

isnumeric(<cell-array>) returns true


From: John W. Eaton
Subject: isnumeric(<cell-array>) returns true
Date: Tue, 18 Mar 2003 11:33:40 +0100

On 18-Mar-2003, Mats Jansson <address@hidden> wrote:

| Is this behavior intended?

No.  Please try the following patch.

Thanks,

jwe


2003-03-18  John W. Eaton  <address@hidden>

        * ov-cell.h (octave_cell::is_matrix_type): New function.


Index: ov-cell.h
===================================================================
RCS file: /usr/local/cvsroot/octave/src/ov-cell.h,v
retrieving revision 1.15
diff -u -r1.15 ov-cell.h
--- ov-cell.h   23 Feb 2003 02:16:53 -0000      1.15
+++ ov-cell.h   18 Mar 2003 10:32:36 -0000
@@ -88,6 +88,8 @@
                         const std::list<octave_value_list>& idx,
                         const octave_value& rhs);
 
+  bool is_numeric_type (void) const { return false; }
+
   bool is_defined (void) const { return true; }
 
   bool is_cell (void) const { return true; }



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]