about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--030container.cc2
-rw-r--r--032array.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/030container.cc b/030container.cc
index e863f92d..a1bb2290 100644
--- a/030container.cc
+++ b/030container.cc
@@ -119,7 +119,7 @@ case GET: {
   assert(Type[base_type].kind == container);
   assert(SIZE(Type[base_type].elements) > offset);
   type_number src_type = Type[base_type].elements.at(offset).at(0);
-  trace(Primitive_recipe_depth, "run") << "its type is " << src_type;
+  trace(Primitive_recipe_depth, "run") << "its type is " << Type[src_type].name;
   reagent tmp;
   tmp.set_value(src);
   tmp.types.push_back(src_type);
diff --git a/032array.cc b/032array.cc
index de9a05f1..87a97291 100644
--- a/032array.cc
+++ b/032array.cc
@@ -89,7 +89,7 @@ case INDEX: {
 //?   trace(Primitive_recipe_depth, "run") << "size of elements: " << size_of(element_type); //? 1
   long long int src = base_address + 1 + offset_val.at(0)*size_of(element_type);
   trace(Primitive_recipe_depth, "run") << "address to copy is " << src;
-  trace(Primitive_recipe_depth, "run") << "its type is " << element_type.at(0);
+  trace(Primitive_recipe_depth, "run") << "its type is " << Type[element_type.at(0)].name;
   reagent tmp;
   tmp.set_value(src);
   copy(element_type.begin(), element_type.end(), inserter(tmp.types, tmp.types.begin()));