Skip to content

Commit 9b36c44

Browse files
committed
Revert fix on ranks growth in KSL
1 parent 21509a3 commit 9b36c44

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tt/ksl/ksl.py

-6
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ def ksl(A, y0, tau, verb=1, scheme='symm', space=8, rmax=2000, use_normest=1):
6262
0.0
6363
"""
6464

65-
y0 = y0.round(1e-14) # This will fix ranks
66-
# to be no more than maximal reasonable.
67-
# Fortran part doesn't handle excessive ranks
6865
ry = y0.r.copy()
6966
if scheme is 'symm':
7067
tp = 2
@@ -178,9 +175,6 @@ def diag_ksl(A, y0, tau, verb=1, scheme='symm', space=8, rmax=2000):
178175
>>> print tt.dot(y1, y0) / (y1.norm() * y0.norm()) - 1 #Eigenvectors should not change
179176
0.0
180177
"""
181-
y0 = y0.round(1e-14) # This will fix ranks
182-
# to be no more than maximal reasonable.
183-
# Fortran part doesn't handle excessive ranks
184178
ry = y0.r.copy()
185179
if scheme is 'symm':
186180
tp = 2

0 commit comments

Comments
 (0)