diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-06-17 12:40:55 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-06-17 12:40:55 -0700 |
commit | d0de5837f91b882256d04e876858b547913087ac (patch) | |
tree | f1796365b1834657c76528df64ae69b757533c56 | |
parent | ab6ed192b75f084a023cde85ba5b2b65e741d966 (diff) | |
download | mu-d0de5837f91b882256d04e876858b547913087ac.tar.gz |
1586
-rw-r--r-- | 030container.cc | 2 | ||||
-rw-r--r-- | 032array.cc | 2 |
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())); |