mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-09 07:00:27 +08:00
Fix bug #623: inlining test_is_equal leads to failures with x87
This commit is contained in:
parent
74beb218d2
commit
487d94f495
@ -295,8 +295,12 @@ inline bool test_isUnitary(const MatrixBase<Derived>& m)
|
||||
return m.isUnitary(test_precision<typename internal::traits<Derived>::Scalar>());
|
||||
}
|
||||
|
||||
// Forward declaration to avoid ICC warning
|
||||
template<typename T, typename U>
|
||||
inline bool test_is_equal(const T& actual, const U& expected)
|
||||
bool test_is_equal(const T& actual, const U& expected);
|
||||
|
||||
template<typename T, typename U>
|
||||
bool test_is_equal(const T& actual, const U& expected)
|
||||
{
|
||||
if (actual==expected)
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user