mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 11:19:02 +08:00
Fix two regressions introduced in previous merges: bad usage of EIGEN_HAS_VARIADIC_TEMPLATES and linking issue.
This commit is contained in:
parent
93b9e36e10
commit
62169419ab
@ -1076,11 +1076,13 @@ namespace Eigen {
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef EIGEN_HAS_VARIADIC_TEMPLATES
|
||||
#if EIGEN_HAS_VARIADIC_TEMPLATES
|
||||
// The all function is used to enable a variadic version of eigen_assert which can take a parameter pack as its input.
|
||||
namespace Eigen {
|
||||
namespace internal {
|
||||
bool all(){ return true; }
|
||||
|
||||
inline bool all(){ return true; }
|
||||
|
||||
template<typename T, typename ...Ts>
|
||||
bool all(T t, Ts ... ts){ return t && all(ts...); }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user