From be23296c114b35d85dac1bb408543909ec2c1c85 Mon Sep 17 00:00:00 2001 From: Naej Date: Tue, 27 Dec 2016 23:11:15 +0100 Subject: [PATCH] =?UTF-8?q?corrig=C3=A9=20de=20la=20merde?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LibAutomaton/matrix.c | 4 ++-- LibAutomaton/matrix.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LibAutomaton/matrix.c b/LibAutomaton/matrix.c index 6d4847e..709b0e3 100644 --- a/LibAutomaton/matrix.c +++ b/LibAutomaton/matrix.c @@ -342,11 +342,11 @@ Matrix opMatrix(Matrix matrix1,Matrix matrix2,bool (operator)(bool, bool)){ } Matrix sumMatrix(Matrix matrix1,Matrix matrix2){ - opMatrix(matrix1,matrix2,OR); + return opMatrix(matrix1,matrix2,OR); } Matrix mulMatrix(Matrix matrix1,Matrix matrix2){ - opMatrix(matrix1,matrix2,AND); + return opMatrix(matrix1,matrix2,AND); } diff --git a/LibAutomaton/matrix.h b/LibAutomaton/matrix.h index 58dc71c..389bd4c 100644 --- a/LibAutomaton/matrix.h +++ b/LibAutomaton/matrix.h @@ -231,7 +231,7 @@ Matrix andRowSequenceOnMatrix(Matrix m); */ Matrix orRowSequenceOnMatrix(Matrix m); Matrix sumMatrix(Matrix matrix1,Matrix matrix2); - +Matrix mulMatrix(Matrix matrix1,Matrix matrix2); #endif