diff --git a/cs677/hw4/src/transpose.cc b/cs677/hw4/src/transpose.cc index a81bbee..3bb5220 100644 --- a/cs677/hw4/src/transpose.cc +++ b/cs677/hw4/src/transpose.cc @@ -98,7 +98,7 @@ int main(int argc, char * argv[]) if (proccount <= 0) { toproc++; - proccount = ccounts[toproc]; + proccount = counts[toproc]; } } @@ -110,7 +110,7 @@ int main(int argc, char * argv[]) { for (int j = 0; j < n; j++) { - cout << recvmatrix[i][j] << " "; + cout << matrix[i][j] << " "; } cout << endl; }