Mercurial > repos > public > sbplib_julia
diff test/testLazyTensors.jl @ 420:3796e296fe64 bugfix/tensor_application_multiplication
Add test that triggers bug
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sun, 18 Oct 2020 21:52:56 +0200 |
parents | 4aa59af074ef |
children | cffdac9c612d |
line wrap: on
line diff
--- a/test/testLazyTensors.jl Fri Oct 16 09:34:06 2020 +0200 +++ b/test/testLazyTensors.jl Sun Oct 18 21:52:56 2020 +0200 @@ -58,6 +58,7 @@ @test (m*m*v)[6] == (:apply,m*v,(Index{Unknown}(6),)) @test_broken BoundsError == (m*m*v)[0] @test_broken BoundsError == (m*m*v)[7] + @test_throws MethodError m*m m = SizeDoublingMapping{Int, 2, 1}((3,)) @test_throws MethodError m*ones(Int,2,2)