fix minor issues

This commit is contained in:
D2A62006 2025-11-26 11:10:28 +01:00
parent a2f2be5592
commit 2783663ab9
2 changed files with 2 additions and 2 deletions

View File

@ -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; Matrix m;
m.rows = rows; m.rows = rows;

View File

@ -7,9 +7,9 @@ typedef float MatrixType;
// TODO Matrixtyp definieren // TODO Matrixtyp definieren
typedef struct Matrix { typedef struct Matrix {
MatrixType *buffer;
size_t rows; //X-Element size_t rows; //X-Element
size_t cols; //Y-Element size_t cols; //Y-Element
MatrixType *buffer;
} Matrix; } Matrix;