From 7b7df7b6b816c1752b99319639da4a6799b18125 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Tue, 7 Jul 2015 12:57:35 -0700 Subject: [PATCH] Updated internal::is_arithmetic::value to be true for complex numbers --- Eigen/src/Core/util/Meta.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Eigen/src/Core/util/Meta.h b/Eigen/src/Core/util/Meta.h index 974f11516..385d0f650 100644 --- a/Eigen/src/Core/util/Meta.h +++ b/Eigen/src/Core/util/Meta.h @@ -67,6 +67,7 @@ template<> struct is_arithmetic { enum { value = true }; }; template<> struct is_arithmetic { enum { value = true }; }; template<> struct is_arithmetic { enum { value = true }; }; template<> struct is_arithmetic { enum { value = true }; }; +template struct is_arithmetic > { enum { value = true }; }; template struct add_const { typedef const T type; }; template struct add_const { typedef T& type; };