diff --git a/test/tensors.jl b/test/tensors.jl index 6dbadb19..c884316d 100644 --- a/test/tensors.jl +++ b/test/tensors.jl @@ -201,7 +201,7 @@ for V in spacelist t2′ = permute(t′, (p1, p2)) @test dot(t2′, t2) ≈ dot(t′, t) ≈ dot(transpose(t2′), transpose(t2)) end - + t3 = @constinferred repartition(t, k) @test norm(t3) ≈ norm(t) t3′ = @constinferred repartition!(similar(t3), t′) @@ -224,7 +224,7 @@ for V in spacelist @test convert(Array, transpose(t2)) ≈ permutedims(a2, (5, 4, 3, 2, 1)) end - + t3 = repartition(t, k) a3 = convert(Array, t3) @test a3 ≈ permutedims(a,