changeset 5927:8dbf3f9f22dc

[project @ 2006-08-14 19:44:17 by jwe]
author jwe
date Mon, 14 Aug 2006 19:44:17 +0000
parents ddfe04062467
children e86311bdecc9
files src/ChangeLog src/ov-cell.cc
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Aug 14 19:16:07 2006 +0000
+++ b/src/ChangeLog	Mon Aug 14 19:44:17 2006 +0000
@@ -1,5 +1,8 @@
 2006-08-14  John W. Eaton  <jwe@octave.org>
 
+	* ov-cell.cc (octave_cell::subsasgn): Call empty_conv for 0x0
+	objects, not just empty objects.
+
 	* oct-map.h (Octave_map::clear): Also clear key_list.
 
 	* load-path.cc (load_path::find_dir_info, load_path::do_add,
--- a/src/ov-cell.cc	Mon Aug 14 19:16:07 2006 +0000
+++ b/src/ov-cell.cc	Mon Aug 14 19:44:17 2006 +0000
@@ -176,7 +176,7 @@
 
 		    tmp.make_unique ();
 
-		    if (! tmp.is_defined () || tmp.is_empty ())
+		    if (! tmp.is_defined () || tmp.is_zero_by_zero ())
 		      tmp = octave_value::empty_conv (type.substr (1), rhs);
 
 		    if (! error_state)