diff --git a/src/DataStructures/Tensor/Expressions/DataTypeSupport.hpp b/src/DataStructures/Tensor/Expressions/DataTypeSupport.hpp index e581dd59bd65..92c55422dff3 100644 --- a/src/DataStructures/Tensor/Expressions/DataTypeSupport.hpp +++ b/src/DataStructures/Tensor/Expressions/DataTypeSupport.hpp @@ -59,10 +59,7 @@ constexpr bool is_supported_number_datatype_v = /// /// \tparam X the `Tensor` data type template -struct is_supported_tensor_datatype - : std::disjunction< - std::is_same, std::is_same>, - std::is_same, std::is_same> {}; +struct is_supported_tensor_datatype : std::true_type {}; template constexpr bool is_supported_tensor_datatype_v = diff --git a/src/DataStructures/Tensor/Tensor.hpp b/src/DataStructures/Tensor/Tensor.hpp index 9cb8f8fc6968..63595706d628 100644 --- a/src/DataStructures/Tensor/Tensor.hpp +++ b/src/DataStructures/Tensor/Tensor.hpp @@ -103,17 +103,17 @@ class Tensor> { "If you are sure you need rank 5 or higher Tensor's please " "file an issue on GitHub or discuss with a core developer of " "SpECTRE."); - static_assert( - std::is_same_v> or std::is_same_v or - std::is_same_v or - std::is_same_v or - std::is_same_v or std::is_same_v or - is_spin_weighted_of_v or - is_spin_weighted_of_v or - simd::is_batch::value, - "Unsupported type. While other types are technically possible it is not " - "clear that Tensor is the correct container for them. Please seek advice " - "on the topic by discussing with the SpECTRE developers."); + // static_assert( + // std::is_same_v> or std::is_same_v or + // std::is_same_v or + // std::is_same_v or + // std::is_same_v or std::is_same_v or + // is_spin_weighted_of_v or + // is_spin_weighted_of_v or + // simd::is_batch::value, + // "Unsupported type. While other types are technically possible it is not + // " "clear that Tensor is the correct container for them. Please seek + // advice " "on the topic by discussing with the SpECTRE developers."); public: /// The type of the sequence that holds the data