mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Replace Eigen type metaprogramming with corresponding std types and make use of alias templates
This commit is contained in:
committed by
Antonio Sánchez
parent
514f90c9ff
commit
421cbf0866
@@ -18,13 +18,13 @@ bool areNotApprox(const MatrixBase<Derived1>& m1, const MatrixBase<Derived2>& m2
|
||||
}
|
||||
|
||||
template <typename LhsType, typename RhsType>
|
||||
typename internal::enable_if<RhsType::SizeAtCompileTime==Dynamic,void>::type
|
||||
std::enable_if_t<RhsType::SizeAtCompileTime==Dynamic,void>
|
||||
check_mismatched_product(LhsType& lhs, const RhsType& rhs) {
|
||||
VERIFY_RAISES_ASSERT(lhs = rhs*rhs);
|
||||
}
|
||||
|
||||
template <typename LhsType, typename RhsType>
|
||||
typename internal::enable_if<RhsType::SizeAtCompileTime!=Dynamic,void>::type
|
||||
std::enable_if_t<RhsType::SizeAtCompileTime!=Dynamic,void>
|
||||
check_mismatched_product(LhsType& /*unused*/, const RhsType& /*unused*/) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user