From 4c3836312a9e4a44db0bbc76f9ca446b99f146b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Gel=C3=9F?= <38036185+PGelss@users.noreply.github.com> Date: Wed, 17 Jul 2024 15:16:53 +0200 Subject: [PATCH] fix in ortho_left and ortho_right --- scikit_tt/tensor_train.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scikit_tt/tensor_train.py b/scikit_tt/tensor_train.py index 0373f35..bf3235a 100644 --- a/scikit_tt/tensor_train.py +++ b/scikit_tt/tensor_train.py @@ -1151,6 +1151,8 @@ def ortho_left(self, start_index: int=0, max_rank_tf = False if max_rank_tf: max_ranks = max_rank + else: + max_rank_tf = False if max_rank_tf: @@ -1255,6 +1257,8 @@ def ortho_right(self, start_index: Optional[int]=None, max_rank_tf = False if max_rank_tf: max_ranks = max_rank + else: + max_rank_tf = False if max_rank_tf: