diff --git a/LibAutomaton/matrix.c b/LibAutomaton/matrix.c index b04fa3a..6d4847e 100644 --- a/LibAutomaton/matrix.c +++ b/LibAutomaton/matrix.c @@ -317,7 +317,7 @@ Matrix freeMatrix(Matrix matrix){ return matrix; } -Matrix sumMatrix(Matrix matrix1,Matrix matrix2){ +Matrix opMatrix(Matrix matrix1,Matrix matrix2,bool (operator)(bool, bool)){ Matrix SumMatrix = CreateMatrix(); int i =0; int j = 0; @@ -326,7 +326,7 @@ Matrix sumMatrix(Matrix matrix1,Matrix matrix2){ SumMatrix = SetMatrixDim(SumMatrix,matrix2.colCount,matrix1.rowCount); for (i=0;i