Mercurial > repos > public > sbplib_julia
changeset 467:6458c929de4a feature/inflated_tensormapping
Merge updated docs
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 22 Oct 2020 13:22:08 +0200 |
parents | 6eb3f7eb08d6 (diff) f270d82fc9ad (current diff) |
children | 481e86e77c22 3f3001d1020f |
files | |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/test/testLazyTensors.jl Thu Oct 22 10:46:23 2020 +0200 +++ b/test/testLazyTensors.jl Thu Oct 22 13:22:08 2020 +0200 @@ -328,6 +328,9 @@ @test InflatedTensorMapping(I(3,2), A, I(4)) isa TensorMapping{Float64, 4, 4} @test InflatedTensorMapping(I(3,2), B, I(4)) isa TensorMapping{Float64, 5, 4} @test InflatedTensorMapping(I(3), C, I(2,3)) isa TensorMapping{Float64, 4, 5} + @test InflatedTensorMapping(C, I(2,3)) isa TensorMapping{Float64, 3, 4} + @test InflatedTensorMapping(I(3), C) isa TensorMapping{Float64, 2, 3} + @test InflatedTensorMapping(I(3), I(2,3)) isa TensorMapping{Float64, 3, 3} @test range_size(InflatedTensorMapping(I(3,2), A, I(4))) == (3,2,4,4) @test domain_size(InflatedTensorMapping(I(3,2), A, I(4))) == (3,2,2,4)