Skip to content

Commit e2c2d53

Browse files
authored
Update exercise01.c
1 parent bcb2171 commit e2c2d53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercise01.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void transpose(matrixNN t){
9999
matrix_type temp;
100100

101101
for (i = 0; i < N; i++){
102-
for (j = 0; j < N; j++){
102+
for (j = 0; j < i; j++){
103103
temp = t[i][j];
104104
t[i][j] = t[j][i];
105105
t[j][i] = temp;

0 commit comments

Comments
 (0)