diff --git a/matrix.h b/matrix.h index 9293cb6..534a763 100644 --- a/matrix.h +++ b/matrix.h @@ -8,10 +8,9 @@ typedef float MatrixType; // Matrixtyp typedef struct Matrix { + MatrixType *buffer; size_t rows; size_t cols; - MatrixType *buffer; - } Matrix; Matrix createMatrix(unsigned int rows, unsigned int cols);