From f93d1c58e09b8435191a55f123873d8f496620b6 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 11 Jan 2017 17:08:59 +0100 Subject: [PATCH] Make get_compile_time compatible with variable_if_dynamic --- Eigen/src/Core/util/IntegralConstant.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Eigen/src/Core/util/IntegralConstant.h b/Eigen/src/Core/util/IntegralConstant.h index f6b206275..a4394c464 100644 --- a/Eigen/src/Core/util/IntegralConstant.h +++ b/Eigen/src/Core/util/IntegralConstant.h @@ -32,6 +32,12 @@ template struct get_compile_time,Default> { enum { value = N }; }; +template +struct get_compile_time,Default> { + enum { value = N }; +}; + + template struct is_compile_time { enum { value = false }; }; template struct is_compile_time > { enum { value = true }; };