Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

step cannot be zero #21

Closed
maartenvd opened this issue Nov 11, 2019 · 1 comment
Closed

step cannot be zero #21

maartenvd opened this issue Nov 11, 2019 · 1 comment

Comments

@maartenvd
Copy link
Contributor

I think empty blocks still cause issues, because this fails somewhere deep in strided :

t = TensorMap(rand,ComplexF64,ProductSpace(U₁Space(0=>12, 1=>0, -1=>12, -2=>12)) ← (U₁Space(0=>1)' ⊗ U₁Space(0=>12, 1=>12, -1=>12)))
mul!(similar(t,ComplexF64),t,1/norm(t))
@Jutho
Copy link
Owner

Jutho commented Nov 11, 2019

Yes the problem is actually with the U₁Space constructor; it should just ignore zero-dimensional sectors and remove them.

@Jutho Jutho closed this as completed Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants