Jutho/TensorKit.jl

transpose can hang

maartenvd opened this issue · 1 comments

the following hangs

t = Tensor(rand,ComplexF64,Rep[SU₂](0=>1)); transpose(t,(),(1,))

I quick'n dirty fix may be the following commit
c61b531

Jutho commented

should be fixed on master; also the length zero case was failing (but would probably never have been called by the @planar macro).