From 4234040b32415e86c020d2e864f22d74679c4904 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 19 Aug 2017 05:38:22 -0700 Subject: 3970 --- 032array.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '032array.cc') diff --git a/032array.cc b/032array.cc index 3b521263..a22e4588 100644 --- a/032array.cc +++ b/032array.cc @@ -62,9 +62,8 @@ case CREATE_ARRAY: { int size = size_of(product); // in locations trace(9998, "run") << "creating array of size " << size << end(); // initialize array - for (int i = 1; i <= size_of(product); ++i) { + for (int i = 1; i <= size_of(product); ++i) put(Memory, base_address+i, 0); - } // no need to update product write_products = false; break; -- cgit 1.4.1-2-gfad0