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

tt.round not working properly with d>370 #88

Open
NingyiLyu opened this issue Sep 6, 2021 · 0 comments
Open

tt.round not working properly with d>370 #88

NingyiLyu opened this issue Sep 6, 2021 · 0 comments

Comments

@NingyiLyu
Copy link

NingyiLyu commented Sep 6, 2021

ttones=tt.ones(10,400)
tt_test=ttones*0.
for i in range(50):
tt_test=tt_test+ttones
tt_test=tt_test.round(1e-3)
print(tt_test.r[10])

It seems like tt.round is not really controlling the rank growth for the above example (d=400). If one uses, say, ttones=tt.ones(10,200) instead, the loop finishes instantly with a rank-1 final TT array.

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

1 participant