From a89c1bed26fd05fc25034e43901c7f03351721a2 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 3 Nov 2017 01:50:46 -0700 Subject: 4104 Stop hardcoding Max_depth everywhere; we had a default value for a reason but then we forgot all about it. --- 032array.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '032array.cc') diff --git a/032array.cc b/032array.cc index a22e4588..bc933aad 100644 --- a/032array.cc +++ b/032array.cc @@ -57,7 +57,7 @@ case CREATE_ARRAY: { array_length_from_type = array_length_from_type->left; int array_length = to_integer(array_length_from_type->name); // initialize array length, so that size_of will work - trace(9999, "mem") << "storing " << array_length << " in location " << base_address << end(); + trace("mem") << "storing " << array_length << " in location " << base_address << end(); put(Memory, base_address, array_length); // in array elements int size = size_of(product); // in locations trace(9998, "run") << "creating array of size " << size << end(); @@ -561,7 +561,7 @@ case PUT_INDEX: { vector value = read_memory(current_instruction().ingredients.at(2)); // Write Memory in PUT_INDEX in Run for (int i = 0; i < SIZE(value); ++i) { - trace(9999, "mem") << "storing " << no_scientific(value.at(i)) << " in location " << address+i << end(); + trace("mem") << "storing " << no_scientific(value.at(i)) << " in location " << address+i << end(); put(Memory, address+i, value.at(i)); } break; -- cgit 1.4.1-2-gfad0