Jutho/TensorKit.jl

creating a GenericRepresentationSpace with only one sector

orialb opened this issue · 3 comments

Hi,

This is a minor issue, but in the past it was possible to do something like U₁Space(1=>1) which now fails. One has to call U₁Space((1=>1, ) ) instead.
This could be fixed by defining GenericRepresentationSpace{G}(d1::Pair; kwargs...).

Jutho commented

Nice catch; I'll look into this straight away, that should not have happened

Jutho commented

Should be fixed on master. Feel free to close after you've confirmed that there are no other issues with the most recent commits.

thanks!
it is indeed fixed now.