From 205513f9017de5a98fa258ce538a9aa968d93d1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?MiraSch=C3=BCtz?= Date: Sun, 15 Nov 2026 18:30:22 +0100 Subject: [PATCH] =?UTF-8?q?multiply=20ver=C3=A4ndert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Startcode/matrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Startcode/matrix.c b/Startcode/matrix.c index 37063d3..0971cd2 100644 --- a/Startcode/matrix.c +++ b/Startcode/matrix.c @@ -103,7 +103,7 @@ Matrix add(const Matrix matrix1, const Matrix matrix2) Matrix multiply(const Matrix matrix1, const Matrix matrix2) { - if(matrix.cols !=matrix2.rows){ + if(matrix1.cols !=matrix2.rows){ Matrix result; result.rows = 0; result.cols = 0;