From 7a9089c33cdb7f9d6cea0380ca75a44969c3ef78 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 13 Apr 2018 08:51:47 +0200 Subject: fix linking issue --- Eigen/src/Core/util/Meta.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Eigen/src/Core/util/Meta.h') diff --git a/Eigen/src/Core/util/Meta.h b/Eigen/src/Core/util/Meta.h index e7729fdc8..1180f0c13 100755 --- a/Eigen/src/Core/util/Meta.h +++ b/Eigen/src/Core/util/Meta.h @@ -545,22 +545,22 @@ T div_ceil(const T &a, const T &b) // The aim of the following functions is to bypass -Wfloat-equal warnings // when we really want a strict equality comparison on floating points. -template +template EIGEN_STRONG_INLINE bool equal_strict(const X& x,const Y& y) { return x == y; } -template<> +template<> EIGEN_STRONG_INLINE bool equal_strict(const float& x,const float& y) { return std::equal_to()(x,y); } -template<> +template<> EIGEN_STRONG_INLINE bool equal_strict(const double& x,const double& y) { return std::equal_to()(x,y); } -template +template EIGEN_STRONG_INLINE bool not_equal_strict(const X& x,const Y& y) { return x != y; } -template<> +template<> EIGEN_STRONG_INLINE bool not_equal_strict(const float& x,const float& y) { return std::not_equal_to()(x,y); } -template<> +template<> EIGEN_STRONG_INLINE bool not_equal_strict(const double& x,const double& y) { return std::not_equal_to()(x,y); } } // end namespace numext -- cgit v1.2.3