From 08620e5c1ec64d4961b78d6b038520cc31c0e2fe Mon Sep 17 00:00:00 2001 From: Sacha Verweij Date: Sat, 6 Jan 2018 00:09:55 -0800 Subject: [PATCH] Slightly relax LAPACK gelsy test tolerance. (#25418) --- test/linalg/lapack.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/linalg/lapack.jl b/test/linalg/lapack.jl index 489896b291696..e316e6a0182ac 100644 --- a/test/linalg/lapack.jl +++ b/test/linalg/lapack.jl @@ -148,7 +148,7 @@ end B = rand(elty, 10, 10) C, j = LAPACK.gelsd!(copy(A),copy(B)) D, k = LAPACK.gelsy!(copy(A),copy(B)) - @test C ≈ D rtol=eps(cond(A)) + @test C ≈ D rtol=4*eps(cond(A)) @test_throws DimensionMismatch LAPACK.gelsd!(A,rand(elty,12,10)) @test_throws DimensionMismatch LAPACK.gelsy!(A,rand(elty,12,10)) end