From e206895359e985976482bd86964c54b9fc226e3f Mon Sep 17 00:00:00 2001 From: hallerni98888 Date: Sat, 8 Nov 2025 14:26:00 +0100 Subject: [PATCH] sync --- matrix.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/matrix.c b/matrix.c index 4d1fffa..573ff60 100644 --- a/matrix.c +++ b/matrix.c @@ -12,7 +12,8 @@ Matrix createMatrix(unsigned int rows, unsigned int cols) m.cols = cols; m.data = malloc (rows * cols * sizeof(int)); - + + return m; } void clearMatrix(Matrix *matrix) @@ -73,6 +74,7 @@ Matrix add(const Matrix matrix1, const Matrix matrix2) } } + return result; } Matrix multiply(const Matrix matrix1, const Matrix matrix2)