diff test/testLazyTensors.jl @ 431:1d6250fcf14c feature/lazy_identity

Remove some unneeded code from tests
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 19 Oct 2020 09:21:44 +0200
parents 46acb2560451
children f24daf573bc6
line wrap: on
line diff
--- a/test/testLazyTensors.jl	Mon Oct 19 09:18:38 2020 +0200
+++ b/test/testLazyTensors.jl	Mon Oct 19 09:21:44 2020 +0200
@@ -263,9 +263,6 @@
 @testset "LazyIdentity" begin
     @test LazyIdentity{Float64}((4,5)) isa LazyIdentity{T,2} where T
     @test LazyIdentity{Float64}((4,5)) isa TensorMapping{T,2,2} where T
-    A = rand(3,4)
-    Ã = LazyLinearMap(A, (1,), (2,))
-    v = rand(4)
 
     for sz ∈ [(4,5),(3,),(5,6,4)]
         I = LazyIdentity{Float64}(sz)