diff options
-rw-r--r-- | 032array.cc | 3 |
1 files changed, 1 insertions, 2 deletions
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; |