From 671aeeb0f2d5f29b53537b7d96fdea14d551dcca Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Tue, 7 Oct 2014 11:24:07 +0000 Subject: [PATCH] release 5.3.1 --- configure.ac | 2 +- libsrc/include/mydefs.hpp | 2 +- libsrc/visualization/vssolution.cpp | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index d371b1dd..89d2a8b8 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([netgen],[5.3],[],[]) +AC_INIT([netgen],[5.3.1],[],[]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_CONFIG_MACRO_DIR([m4]) diff --git a/libsrc/include/mydefs.hpp b/libsrc/include/mydefs.hpp index 78d575df..b27aa491 100644 --- a/libsrc/include/mydefs.hpp +++ b/libsrc/include/mydefs.hpp @@ -20,7 +20,7 @@ // in the configure/make phases, with the // right version number #ifdef WIN32 -#define PACKAGE_VERSION "5.3-dev" +#define PACKAGE_VERSION "5.3" #endif diff --git a/libsrc/visualization/vssolution.cpp b/libsrc/visualization/vssolution.cpp index 0bc3a50b..b895145a 100644 --- a/libsrc/visualization/vssolution.cpp +++ b/libsrc/visualization/vssolution.cpp @@ -2421,7 +2421,10 @@ namespace netgen double hminv = numeric_limits::max(); double hmaxv = -numeric_limits::max(); bool hhasit = false; + +#if defined _OPENMP && _OPENMP >= 201107 #pragma omp parallel for reduction (max : hmaxv) reduction (min : hminv) reduction (|| : hhasit) +#endif for (int i = 0; i < ne; i++) { double val;