[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] r5030 - /trunk/getfem/src/getfem/getfem_continuation.h
From: |
andriy . andreykiv |
Subject: |
[Getfem-commits] r5030 - /trunk/getfem/src/getfem/getfem_continuation.h |
Date: |
Sun, 07 Jun 2015 19:34:33 -0000 |
Author: andrico
Date: Sun Jun 7 21:34:32 2015
New Revision: 5030
URL: http://svn.gna.org/viewcvs/getfem?rev=5030&view=rev
Log:
provision for MSVC not yet supporting constexpr
Modified:
trunk/getfem/src/getfem/getfem_continuation.h
Modified: trunk/getfem/src/getfem/getfem_continuation.h
URL:
http://svn.gna.org/viewcvs/getfem/trunk/getfem/src/getfem/getfem_continuation.h?rev=5030&r1=5029&r2=5030&view=diff
==============================================================================
--- trunk/getfem/src/getfem/getfem_continuation.h (original)
+++ trunk/getfem/src/getfem/getfem_continuation.h Sun Jun 7 21:34:32 2015
@@ -52,9 +52,13 @@
class virtual_cont_struct {
protected:
-
- static constexpr double tau_bp_init = 1.e6;
+#ifdef _MSC_VER
+ const double tau_bp_init = 1.e6;
+ const double diffeps = 1.e-8;
+#else
+ static constexpr double tau_bp_init = 1.e6;
static constexpr double diffeps = 1.e-8;
+#endif
int singularities;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Getfem-commits] r5030 - /trunk/getfem/src/getfem/getfem_continuation.h,
andriy . andreykiv <=