From 2783663ab914c32449519bbbdffa45241a5a3262 Mon Sep 17 00:00:00 2001 From: D2A62006 Date: Wed, 26 Nov 2025 11:10:28 +0100 Subject: [PATCH] fix minor issues --- matrix.c | 2 +- matrix.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix.c b/matrix.c index ba4b374..44ee6f9 100644 --- a/matrix.c +++ b/matrix.c @@ -42,7 +42,7 @@ Matrix createMatrix(unsigned int rows, unsigned int cols) } */ -Matrix createMatrix(size_t cols, size_t rows) +Matrix createMatrix(size_t rows, size_t cols) { Matrix m; m.rows = rows; diff --git a/matrix.h b/matrix.h index 8f05f79..0c0648a 100644 --- a/matrix.h +++ b/matrix.h @@ -7,9 +7,9 @@ typedef float MatrixType; // TODO Matrixtyp definieren typedef struct Matrix { + MatrixType *buffer; size_t rows; //X-Element size_t cols; //Y-Element - MatrixType *buffer; } Matrix;