From 19d465ac13f88778b76556c6bb6d6f46b48b144f Mon Sep 17 00:00:00 2001 From: Eduard Valeyev Date: Fri, 2 Apr 2021 08:24:38 -0400 Subject: [PATCH] numeric_type trait for Eigen matrices not needed since Eigen 3.3 value_type were added via https://gitlab.com/libeigen/eigen/-/issues/360 --- src/TiledArray/type_traits.h | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/src/TiledArray/type_traits.h b/src/TiledArray/type_traits.h index b6ce5ec3b4..c08c2ca048 100644 --- a/src/TiledArray/type_traits.h +++ b/src/TiledArray/type_traits.h @@ -65,17 +65,6 @@ inline constexpr bool is_integral_v = is_integral::value; ////////////////////////////////////////////////////////////////////////////////////////////// // forward declarations -namespace Eigen { - -template -class Matrix; -template -class Array; -template -class Map; - -} // namespace Eigen - namespace madness { template @@ -736,20 +725,6 @@ struct numeric_type::value && !is_numeric_v>::type> : public numeric_type::type> {}; -template -struct numeric_type, void> - : public numeric_type::Scalar> {}; - -template -struct numeric_type, void> - : public numeric_type::Scalar> {}; - -template -struct numeric_type, void> - : public numeric_type {}; - /// \c numeric_t is an alias for \c numeric_type::type template using numeric_t = typename TiledArray::detail::numeric_type::type;