getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] (no subject)


From: Andriy Andreykiv
Subject: [Getfem-commits] (no subject)
Date: Mon, 18 Feb 2019 10:16:11 -0500 (EST)

branch: upgrading_getfem_to_cpp14
commit 7e1cc903adda5e462e648ce75a8a6ecfac9fb825
Author: aa <address@hidden>
Date:   Mon Feb 18 15:39:48 2019 +0100

    no need for special functions anymore
---
 src/getfem_generic_assembly_functions_and_operators.cc | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/src/getfem_generic_assembly_functions_and_operators.cc 
b/src/getfem_generic_assembly_functions_and_operators.cc
index 3193528..14bb626 100644
--- a/src/getfem_generic_assembly_functions_and_operators.cc
+++ b/src/getfem_generic_assembly_functions_and_operators.cc
@@ -28,24 +28,11 @@
    compilers
 */
 
-#if defined(_MSC_VER) && _MSC_VER < 1800
-#include <boost/math/special_functions/acosh.hpp>
-#include <boost/math/special_functions/asinh.hpp>
-#include <boost/math/special_functions/atanh.hpp>
-#include <boost/math/special_functions/erf.hpp>
-typedef double (*BoostMathFunction)(double);
-BoostMathFunction const acosh = boost::math::acosh<double>;
-BoostMathFunction const asinh = boost::math::asinh<double>;
-BoostMathFunction const atanh = boost::math::atanh<double>;
-BoostMathFunction const erf = boost::math::erf<double>;
-BoostMathFunction const erfc = boost::math::erfc<double>;
-#endif
-
 namespace getfem {
 
   base_matrix& __mat_aux1()
   {
-    DEFINE_STATIC_THREAD_LOCAL(base_matrix, m);
+    THREAD_SAFE_STATIC base_matrix m;
     return m;
   }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]