corrected mistake from merging in matrix.c

This commit is contained in:
Jonas Hofmann 2025-11-22 20:12:10 +01:00
parent dd2a621f11
commit e2375c4844

View File

@ -39,7 +39,7 @@ void clearMatrix(Matrix *matrix)
matrix->cols = 0; matrix->cols = 0;
} }
void setMatrixAt(MatrixType value, Matrix *matrix, unsigned int rowIdx, unsigned int colIdx) void setMatrixAt(MatrixType value, Matrix matrix, unsigned int rowIdx, unsigned int colIdx)
{ {
if(matrix.buffer == NULL) if(matrix.buffer == NULL)
{ {