about summary refs log tree commit diff stats
path: root/032array.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-04-20 09:54:10 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-04-20 09:54:10 -0700
commit249cc0817581d5144559c4b21936eb9588282a1f (patch)
tree614e1d48c01c47ae4e8bb95da08a0e062153a8ca /032array.cc
parent13485a58eaaa64ab7d90b16a37442083da0a5d1a (diff)
downloadmu-249cc0817581d5144559c4b21936eb9588282a1f.tar.gz
2846
Diffstat (limited to '032array.cc')
-rw-r--r--032array.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/032array.cc b/032array.cc
index bd28fef3..f4b6a943 100644
--- a/032array.cc
+++ b/032array.cc
@@ -221,10 +221,10 @@ case INDEX: {
   int src = base_address + 1 + offset_val.at(0)*size_of(element_type);
   trace(9998, "run") << "address to copy is " << src << end();
   trace(9998, "run") << "its type is " << get(Type, element_type->value).name << end();
-  reagent tmp;
-  tmp.set_value(src);
-  tmp.type = new type_tree(*element_type);
-  products.push_back(read_memory(tmp));
+  reagent elem;
+  elem.set_value(src);
+  elem.type = new type_tree(*element_type);
+  products.push_back(read_memory(elem));
   break;
 }