diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-06-07 15:26:25 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-06-07 15:26:25 +0200 |
commit | 55774b48e4718763214ed9e52faa52dc2622aef0 (patch) | |
tree | 2c254d905d38cb83fddb1fcd60cc7a6b58ae0427 /test/main.h | |
parent | e5f9f4768f9118dcafa5d254cfce7696e36f3a16 (diff) |
Fix short vs long
Diffstat (limited to 'test/main.h')
-rw-r--r-- | test/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/main.h b/test/main.h index 0fcd6cb76..a94e1ab41 100644 --- a/test/main.h +++ b/test/main.h @@ -359,7 +359,7 @@ template<> inline long double test_precision<std::complex<long double> >() { ret inline bool test_isApprox(const short& a, const short& b) { return internal::isApprox(a, b, test_precision<short>()); } inline bool test_isApprox(const unsigned short& a, const unsigned short& b) -{ return internal::isApprox(a, b, test_precision<unsigned long>()); } +{ return internal::isApprox(a, b, test_precision<unsigned short>()); } inline bool test_isApprox(const unsigned int& a, const unsigned int& b) { return internal::isApprox(a, b, test_precision<unsigned int>()); } inline bool test_isApprox(const long& a, const long& b) |