aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk5
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-04-04 19:44:00 -0500
committerRossTheRoss <msattr@gmail.com>2019-04-04 19:44:00 -0500
commit4f537ce801e40abf6ad8468515d03c0aa1caabf5 (patch)
treeadffb9238f39249790f7a250cba753e0a7f3bf7e /ee1301/wk5
parentAHHHH (diff)
downloadhomework-4f537ce801e40abf6ad8468515d03c0aa1caabf5.tar
homework-4f537ce801e40abf6ad8468515d03c0aa1caabf5.tar.gz
homework-4f537ce801e40abf6ad8468515d03c0aa1caabf5.tar.bz2
homework-4f537ce801e40abf6ad8468515d03c0aa1caabf5.tar.lz
homework-4f537ce801e40abf6ad8468515d03c0aa1caabf5.tar.xz
homework-4f537ce801e40abf6ad8468515d03c0aa1caabf5.tar.zst
homework-4f537ce801e40abf6ad8468515d03c0aa1caabf5.zip
?
Diffstat (limited to 'ee1301/wk5')
-rw-r--r--ee1301/wk5/hw5_directory/strap012_HW5C.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ee1301/wk5/hw5_directory/strap012_HW5C.cpp b/ee1301/wk5/hw5_directory/strap012_HW5C.cpp
index bc42aa7..b81bb28 100644
--- a/ee1301/wk5/hw5_directory/strap012_HW5C.cpp
+++ b/ee1301/wk5/hw5_directory/strap012_HW5C.cpp
@@ -58,7 +58,7 @@ void getInput(int input[SIZE][SIZE]) {
void makeNewArray(int oldArray[SIZE][SIZE], int newArray[SIZE][SIZE]) {
for (int row = 0; row < SIZE-1; row++) {
for (int column = 0; column < SIZE-1; column++) {
- newArray[row][column] = oldArray[row-1][column-1];
+ newArray[row][column] = oldArray[row][column];
}
}
}