Mercurial > repos > public > sbplib_julia
changeset 428:6737e769a1ca
Reduce exessive tol in TensorMappingComposition tests
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 19 Oct 2020 20:42:13 +0200 |
parents | 1c41f4fd3e61 |
children | 1db5ec38955e cffdac9c612d c3aa4ede899c |
files | test/testLazyTensors.jl |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test/testLazyTensors.jl Mon Oct 19 10:28:21 2020 +0200 +++ b/test/testLazyTensors.jl Mon Oct 19 20:42:13 2020 +0200 @@ -228,10 +228,10 @@ # @test @inbounds B̃∘Ã # Should not error even though dimensions don't match. (Since ]test runs with forced boundschecking this is currently not testable 2020-10-16) v = rand(4) - @test Ã∘B̃*v ≈ A*B*v rtol=1e-16 + @test Ã∘B̃*v ≈ A*B*v rtol=1e-14 v = rand(2) - @test (Ã∘B̃)'*v ≈ B'*A'*v rtol=1e-16 + @test (Ã∘B̃)'*v ≈ B'*A'*v rtol=1e-14 end @testset "LazyLinearMap" begin