[numerics] partial fix for failing tests (mumps/mpi)
#include "CSparseMatrix.h"
#include "CSparseMatrix_internal.h"
-
#ifdef SICONOS_HAS_MPI
#include <mpi.h>
#endif
-
-
int add_square_triplet(void);
int add_square_csc(void);
int add_square_triplet_into_csc(void);
@@ -840,14 +837,11 @@ static int inv_test(void)
-int main(int argc, char *argv[])
+int main()
{
-
#ifdef SICONOS_HAS_MPI
- MPI_Init(&argc, &argv);
+ MPI_Init(NULL, NULL);
#endif
-
-
int info = add_test();
info += gemm_test();
@@ -862,6 +856,5 @@ int main(int argc, char *argv[])
MPI_Finalize();
#endif
-
return info;
}
