diff options
author | RossTheRoss <msattr@gmail.com> | 2019-04-04 19:56:00 -0500 |
---|---|---|
committer | RossTheRoss <msattr@gmail.com> | 2019-04-04 19:56:00 -0500 |
commit | 869c3b69ad84b73ed5df02b64c6392240d8cb95d (patch) | |
tree | 64298dffc0419bd4de3c3a8fdb9a6280b635a9cb /ee1301/wk5/hw5_directory/strap012_HW5C.cpp | |
parent | Merge branch 'master' of github.com:RosstheRoss/TestingFun (diff) | |
download | homework-869c3b69ad84b73ed5df02b64c6392240d8cb95d.tar homework-869c3b69ad84b73ed5df02b64c6392240d8cb95d.tar.gz homework-869c3b69ad84b73ed5df02b64c6392240d8cb95d.tar.bz2 homework-869c3b69ad84b73ed5df02b64c6392240d8cb95d.tar.lz homework-869c3b69ad84b73ed5df02b64c6392240d8cb95d.tar.xz homework-869c3b69ad84b73ed5df02b64c6392240d8cb95d.tar.zst homework-869c3b69ad84b73ed5df02b64c6392240d8cb95d.zip |
??????
Diffstat (limited to 'ee1301/wk5/hw5_directory/strap012_HW5C.cpp')
-rw-r--r-- | ee1301/wk5/hw5_directory/strap012_HW5C.cpp | 2 |
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 3fd91d1..861fbbb 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 = -1; row < maxRow; row++) { for (int column = -1; column < maxColumn; column++) { - newArray[row][column] = oldArray[row-1][column]; + newArray[row][column] = oldArray[row][column]; } } } |