Ready to rumble

This commit is contained in:
Thomas Schleicher 2023-09-19 13:04:34 +02:00
parent f98bb5cbaa
commit 2c768550f3
4 changed files with 39 additions and 13 deletions

View file

@ -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;
}