diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-08-19 05:38:22 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-08-19 05:38:22 -0700 |
commit | 4234040b32415e86c020d2e864f22d74679c4904 (patch) | |
tree | adb0295a1fa98a017396702595104dfd8b365fed | |
parent | 2d4c3296d8aec3d8ec6dbc83bdc59f2f8c2fad04 (diff) | |
download | mu-4234040b32415e86c020d2e864f22d74679c4904.tar.gz |
3970
-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; |