diff --git a/matrix.c b/matrix.c index 624b824..950d052 100644 --- a/matrix.c +++ b/matrix.c @@ -39,7 +39,7 @@ void clearMatrix(Matrix *matrix) 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) {