From: ageay Date: Thu, 5 Nov 2009 09:33:22 +0000 (+0000) Subject: Suppression of bug on empty mesh. X-Git-Tag: V5_1_main_FINAL~286 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b7da50bfec925f5fb719634e6e39ff83b4ce38ca;p=tools%2Fmedcoupling.git Suppression of bug on empty mesh. --- 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);