Mercurial > repos > public > sbplib_julia
changeset 424:98ba9b7effd3 feature/tensor_composition
Be more explicit about allowed error in isapprox, and set it way lower.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 19 Oct 2020 08:58:26 +0200 |
parents | 2958b4ebd565 |
children | 40f793b40339 |
files | test/testLazyTensors.jl |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test/testLazyTensors.jl Sun Oct 18 21:50:03 2020 +0200 +++ b/test/testLazyTensors.jl Mon Oct 19 08:58:26 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 + @test Ã∘B̃*v ≈ A*B*v rtol=1e-16 v = rand(2) - @test (Ã∘B̃)'*v ≈ B'*A'*v + @test (Ã∘B̃)'*v ≈ B'*A'*v rtol=1e-16 end @testset "LazyLinearMap" begin