changeset 5946:4b433225128d

[project @ 2006-08-21 15:54:50 by jwe]
author jwe
date Mon, 21 Aug 2006 15:57:09 +0000
parents 76cfea89e4e7
children 009fa69b6182
files scripts/ChangeLog scripts/strings/mat2str.m src/ChangeLog src/ov-fcn-handle.cc
diffstat 4 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Fri Aug 18 22:19:25 2006 +0000
+++ b/scripts/ChangeLog	Mon Aug 21 15:57:09 2006 +0000
@@ -1,3 +1,7 @@
+2006-08-21  David Bateman  <dbateman@free.fr>
+
+	* strings/mat2str.m: Compute NC before using.
+
 2006-08-17  John W. Eaton  <jwe@octave.org>
 
 	* audio/wavread.m: Fix calculation of sample count.
--- a/scripts/strings/mat2str.m	Fri Aug 18 22:19:25 2006 +0000
+++ b/scripts/strings/mat2str.m	Mon Aug 21 15:57:09 2006 +0000
@@ -109,6 +109,7 @@
     s = ["[", s];
     s(end) = "]";
     ind = find (s == ",");
+    nc = columns (x);
     s(ind(nc:nc:end)) = ";";
   endif
 
--- a/src/ChangeLog	Fri Aug 18 22:19:25 2006 +0000
+++ b/src/ChangeLog	Mon Aug 21 15:57:09 2006 +0000
@@ -1,3 +1,8 @@
+2006-08-21  John W. Eaton  <jwe@octave.org>
+
+	* ov-fcn-handle.cc (DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA):	
+	For compatibility, set class to function_handle.
+
 2006-08-18  John W. Eaton  <jwe@octave.org>
 
 	* pr-output.cc (set_real_matrix_format): Also always include space
--- a/src/ov-fcn-handle.cc	Fri Aug 18 22:19:25 2006 +0000
+++ b/src/ov-fcn-handle.cc	Mon Aug 21 15:57:09 2006 +0000
@@ -56,7 +56,7 @@
 
 DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (octave_fcn_handle,
 				     "function handle",
-				     "function handle");
+				     "function_handle");
 
 void
 octave_fcn_handle::reload_warning (const std::string& fcn_type) const