diff src/ov-struct.cc @ 4675:f6d6335c08f6

[project @ 2003-12-16 05:11:26 by jwe]
author jwe
date Tue, 16 Dec 2003 05:11:27 +0000
parents d44675070f1a
children e95c86d48732
line wrap: on
line diff
--- a/src/ov-struct.cc
+++ b/src/ov-struct.cc
@@ -200,7 +200,7 @@
 		  u = octave_value::empty_conv (type.substr (2), rhs);
 		else
 		  {
-		    Cell map_val = map[key];
+		    Cell map_val = map.contents (key);
 
 		    Cell map_elt = map_val.index (idx.front (), true);
 
@@ -241,7 +241,7 @@
 	      u = octave_value::empty_conv (type.substr (1), rhs);
 	    else
 	      {
-		Cell map_val = map[key];
+		Cell map_val = map.contents (key);
 
 		u = numeric_conv (map_val, type.substr (1));
 	      }