From b7da50bfec925f5fb719634e6e39ff83b4ce38ca Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 5 Nov 2009 09:33:22 +0000 Subject: [PATCH] Suppression of bug on empty mesh. --- src/ParaMEDMEM/Test/MPIMainTest.hxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ParaMEDMEM/Test/MPIMainTest.hxx b/src/ParaMEDMEM/Test/MPIMainTest.hxx index 9d07ab32d..c0603194d 100644 --- a/src/ParaMEDMEM/Test/MPIMainTest.hxx +++ b/src/ParaMEDMEM/Test/MPIMainTest.hxx @@ -32,6 +32,9 @@ #include #include +#ifndef WIN32 +#include +#endif // ============================================================================ /*! @@ -42,6 +45,10 @@ int main(int argc, char* argv[]) { +#ifndef WIN32 + fpu_control_t cw = _FPU_DEFAULT & ~(_FPU_MASK_IM | _FPU_MASK_ZM | _FPU_MASK_OM); + _FPU_SETCW(cw); +#endif MPI_Init(&argc,&argv); int rank; MPI_Comm_rank(MPI_COMM_WORLD,&rank); -- 2.39.2