Skip to content

Commit 389bcec

Browse files
committed
Add explicit test for issue #178
1 parent 53a2686 commit 389bcec

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/bugfixes.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,11 @@
2222
@test w == v
2323
@test scalartype(w) == Float64
2424
end
25+
26+
# https://github.com/Jutho/TensorKit.jl/issues/178
27+
@testset "Issue #178" begin
28+
t = rand(U1Space(1 => 1) U1Space(1 => 1)')
29+
a = convert(Array, t)
30+
@test a == zeros(size(a))
31+
end
2532
end

0 commit comments

Comments
 (0)