Ready to rumble
This commit is contained in:
parent
f98bb5cbaa
commit
2c768550f3
4 changed files with 39 additions and 13 deletions
2
matrix.c
2
matrix.c
|
|
@ -265,5 +265,5 @@ Matrix* matrix_flatten(Matrix* matrix, int axis) {
|
|||
else if (axis == 1) result_matrix->numbers[0][i * matrix->columns + j] = matrix->numbers[i][j];
|
||||
}
|
||||
}
|
||||
return mat;
|
||||
return result_matrix;
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue