mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix warnings
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
38b9cc263b
commit
e605227030
@@ -37,9 +37,7 @@ struct maybe_coherent_pad_helper {
|
||||
template <typename DerivativeType, typename OtherDerivativeType>
|
||||
struct maybe_coherent_pad_helper<
|
||||
DerivativeType, OtherDerivativeType,
|
||||
std::enable_if_t<DerivativeType::SizeAtCompileTime >= OtherDerivativeType::SizeAtCompileTime &&
|
||||
DerivativeType::SizeAtCompileTime != Dynamic &&
|
||||
OtherDerivativeType::SizeAtCompileTime != Dynamic>> {
|
||||
std::enable_if_t<enum_ge_not_dynamic(DerivativeType::SizeAtCompileTime, OtherDerivativeType::SizeAtCompileTime)>> {
|
||||
using type = const DerivativeType&;
|
||||
static const DerivativeType& pad(const DerivativeType& x, const OtherDerivativeType& /*y*/) { return x; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user