From 869c3b69ad84b73ed5df02b64c6392240d8cb95d Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Thu, 4 Apr 2019 19:56:00 -0500 Subject: ?????? --- ee1301/wk5/hw5_directory/strap012_HW5C.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; } } } -- cgit v1.2.3