ein #include und exit failiure bei matrixMultiply hinzugefügt
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include "matrix.h"
|
||||
|
||||
// TODO Matrix-Funktionen implementieren
|
||||
@@ -192,4 +193,9 @@ Matrix multiply(const Matrix matrix1, const Matrix matrix2)
|
||||
|
||||
return matrix_erg;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("Matrix multiplication not possible\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user