diff --git a/matrix.c b/matrix.c index b46c57a..8f986e7 100644 --- a/matrix.c +++ b/matrix.c @@ -95,8 +95,7 @@ Matrix add(const Matrix matrix1, const Matrix matrix2) return result_add; } - //if (matrix1.rows != matrix2.rows || matrix1.cols != 1 || matrix2.cols != 1) - return createMatrix(0, 0); + return createMatrix(0, 0); } Matrix multiply(const Matrix matrix1, const Matrix matrix2)