Mercurial > repos > public > sbplib_julia
changeset 432:f24daf573bc6 feature/lazy_identity
Add test to make sure transpose application is inferred
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 19 Oct 2020 09:37:23 +0200 |
parents | 1d6250fcf14c |
children | 7327a3e41df0 |
files | test/testLazyTensors.jl |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/test/testLazyTensors.jl Mon Oct 19 09:21:44 2020 +0200 +++ b/test/testLazyTensors.jl Mon Oct 19 09:37:23 2020 +0200 @@ -277,6 +277,7 @@ I = LazyIdentity{Float64}((4,5)) v = rand(4,5) @inferred (I*v)[3,2] + @test_broken @inferred (I'*v)[3,2] # TODO: Should fix the index typing before investigating this @inferred range_size(I) end