Closed faysou closed 5 years ago
There's a small bug at this line in _round_tt that makes the code break if the argument max_tt_rank is an array or a list: https://github.com/Bihaqo/t3f/blob/develop/t3f/decompositions.py#L251
if max_tt_rank < 1:
should be replaced by
if (max_tt_rank < 1).any():
Thanks, created a pull request #189, does this make sense?
There's a small bug at this line in _round_tt that makes the code break if the argument max_tt_rank is an array or a list: https://github.com/Bihaqo/t3f/blob/develop/t3f/decompositions.py#L251
should be replaced by