Skip to content

Commit 286f3d9

Browse files
committed
Remove debug code and nots in comments.
1 parent fbcd427 commit 286f3d9

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

tt/core/vector.py

+4-7
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@
66
from tt.core.utils import my_chop2
77
import warnings
88

9-
# The main class for working with vectors in the TT-format
109

1110
class vector(object):
12-
"""Construct new TT-vector.
13-
14-
When called with no arguments, creates dummy object which can be filled from outside.
15-
16-
When ``a`` is specified, computes approximate decomposition of array ``a`` with accuracy ``eps``:
11+
"""The main class for working with vectors in the TT-format. It constructs
12+
new TT-vector. When called with no arguments, creates dummy object which
13+
can be filled from outside. When ``a`` is specified, computes approximate
14+
decomposition of array ``a`` with accuracy ``eps``:
1715
1816
:param a: A tensor to approximate.
1917
:type a: ndarray
@@ -380,7 +378,6 @@ def __radd__(self, other):
380378
return self
381379
return other + self
382380

383-
#@profile
384381
def round(self, eps=1e-14, rmax=1000000):
385382
"""Applies TT rounding procedure to the TT-vector and **returns rounded tensor**.
386383

0 commit comments

Comments
 (0)