Bis auf Broadcasting alles fertig
This commit is contained in:
parent
78579ded18
commit
9d7ec2dc0d
2
matrix.c
2
matrix.c
@ -77,7 +77,7 @@ Matrix add(const Matrix matrix1, const Matrix matrix2)
|
|||||||
{
|
{
|
||||||
if((matrix1.rows != matrix2.rows) || (matrix1.cols != matrix2.cols))
|
if((matrix1.rows != matrix2.rows) || (matrix1.cols != matrix2.cols))
|
||||||
{
|
{
|
||||||
//printf("Fehler bei Addition: Matrix Dimensionen passen nicht ueberein!\n");
|
//printf("Fehler bei Addition: Matrix Dimensionen stimmen nicht ueberein!\n");
|
||||||
Matrix empty = {0, 0, NULL};
|
Matrix empty = {0, 0, NULL};
|
||||||
return empty;
|
return empty;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user