diff options
Diffstat (limited to 'test/rand.cpp')
-rw-r--r-- | test/rand.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rand.cpp b/test/rand.cpp index 51cf01773..984c01f53 100644 --- a/test/rand.cpp +++ b/test/rand.cpp @@ -51,10 +51,10 @@ template<typename Scalar> void check_histogram(Scalar x, Scalar y, int bins) Scalar r = check_in_range(x,y); hist( int((int64(r)-int64(x))/divisor) )++; } - VERIFY( (((hist.cast<double>()/double(f))-1.0).abs()<0.02).all() ); + VERIFY( (((hist.cast<double>()/double(f))-1.0).abs()<0.03).all() ); } -void test_rand() +EIGEN_DECLARE_TEST(rand) { long long_ref = NumTraits<long>::highest()/10; signed char char_offset = (std::min)(g_repeat,64); |