about summary refs log tree commit diff stats
path: root/020run.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-07-11 21:31:22 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-07-11 21:31:22 -0700
commit8dccf184feebe1acd2354231e16d464ef6f8251d (patch)
treed07fb386203ac92ff7f703c1a6f4d0cdcd819c3a /020run.cc
parentfe51763cefd9980037b960e6f9afcc8619268fb7 (diff)
downloadmu-8dccf184feebe1acd2354231e16d464ef6f8251d.tar.gz
3110 - better support static arrays in containers
Diffstat (limited to '020run.cc')
-rw-r--r--020run.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/020run.cc b/020run.cc
index 5568b2a4..8ea341e4 100644
--- a/020run.cc
+++ b/020run.cc
@@ -279,7 +279,7 @@ void write_memory(reagent/*copy*/ x, const vector<double>& data, const int /*onl
   // End Preprocess write_memory(x, data)
   if (x.value == 0) return;
   if (size_mismatch(x, data)) {
-    raise << maybe(current_recipe_name()) << "size mismatch in storing to '" << x.original_string << "' (" << size_of(x.type) << " vs " << SIZE(data) << ") at '" << to_original_string(current_instruction()) << "'\n" << end();
+    raise << maybe(current_recipe_name()) << "size mismatch in storing to '" << x.original_string << "' (" << size_of(x) << " vs " << SIZE(data) << ") at '" << to_original_string(current_instruction()) << "'\n" << end();
     return;
   }
   // End write_memory(x) Special-cases