about summary refs log tree commit diff stats
path: root/032array.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-08-17 00:14:38 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-08-17 00:14:38 -0700
commit067c8ed66c9bd4e9b4c936b54df293c665afa9bc (patch)
treef6a75f6d1e30b79f0eef11f52377d5b27d14b31f /032array.cc
parente2e48483fcc3f31369134e3f20057ebcac72f6d7 (diff)
downloadmu-067c8ed66c9bd4e9b4c936b54df293c665afa9bc.tar.gz
3209
Diffstat (limited to '032array.cc')
-rw-r--r--032array.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/032array.cc b/032array.cc
index 06520cb0..6c78fda6 100644
--- a/032array.cc
+++ b/032array.cc
@@ -412,7 +412,7 @@ case PUT_INDEX: {
   reagent element;
   element.type = copy_array_element(base.type);
   int address = base_address + 1 + index_val.at(0)*size_of(element.type);
-  element.value = address;
+  element.set_value(address);
   trace(9998, "run") << "address to copy to is " << address << end();
   // optimization: directly write the element rather than updating 'product'
   // and writing the entire array