Mercurial > repos > public > sbplib_julia
diff test/testLazyTensors.jl @ 435:1db5ec38955e feature/lazy_identity
Merge in default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 19 Oct 2020 20:43:59 +0200 |
parents | 648a36ebac99 6737e769a1ca |
children | 00c317c9ccfb 912ae510dec9 |
line wrap: on
line diff
--- a/test/testLazyTensors.jl Mon Oct 19 09:51:56 2020 +0200 +++ b/test/testLazyTensors.jl Mon Oct 19 20:43:59 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