Compare commits
No commits in common. "d15f3d1b9ccf6e8ba1d36a5bddb75c48ba1645ee" and "f76e68773cf36e7cad099bf19ec9b35217d37f15" have entirely different histories.
d15f3d1b9c
...
f76e68773c
4
matrix.c
4
matrix.c
@ -11,11 +11,7 @@ Matrix createMatrix(unsigned int rows, unsigned int cols)
|
||||
|
||||
void clearMatrix(Matrix *matrix)
|
||||
{
|
||||
free(matrix->data);
|
||||
|
||||
matrix->rows = 0;
|
||||
matrix->cols = 0;
|
||||
matrix->data = NULL;
|
||||
}
|
||||
|
||||
void setMatrixAt(MatrixType value, Matrix matrix, unsigned int rowIdx, unsigned int colIdx)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user