reload
This commit is contained in:
parent
2dffac5f07
commit
e25875fac6
2
matrix.c
2
matrix.c
@ -52,8 +52,6 @@ MatrixType getMatrixAt(const Matrix matrix, unsigned int rowIdx, unsigned int co
|
|||||||
|
|
||||||
Matrix add(const Matrix matrix1, const Matrix matrix2)
|
Matrix add(const Matrix matrix1, const Matrix matrix2)
|
||||||
{
|
{
|
||||||
// Needed: rows/Zeilen, collums/Spalten
|
|
||||||
|
|
||||||
// test, if two matrix has exact size
|
// test, if two matrix has exact size
|
||||||
|
|
||||||
if (matrix1.rows != matrix2.rows || matrix1.cols != matrix2.cols)
|
if (matrix1.rows != matrix2.rows || matrix1.cols != matrix2.cols)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user