From e7d4d4f192fb77bf3bf4875b2e56dfbe7ca9b24a Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 15 Jan 2019 10:51:03 +0100 Subject: cleanup --- test/main.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/main.h') diff --git a/test/main.h b/test/main.h index 36784b1f4..9c1465e9a 100644 --- a/test/main.h +++ b/test/main.h @@ -389,6 +389,13 @@ inline void verify_impl(bool condition, const char *testname, const char *file, namespace Eigen { +template +typename internal::enable_if::value,bool>::type +is_same_type(const T1&, const T2&) +{ + return true; +} + template inline typename NumTraits::Real test_precision() { return NumTraits::dummy_precision(); } template<> inline float test_precision() { return 1e-3f; } template<> inline double test_precision() { return 1e-6; } -- cgit v1.2.3