Skip to content

Commit

Permalink
Merge pull request #96 from oseledets/hotfix/ksl
Browse files Browse the repository at this point in the history
Revert fix on ranks growth in KSL
  • Loading branch information
daskol authored Dec 14, 2022
2 parents 21509a3 + 9b36c44 commit a50d5e0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tt/ksl/ksl.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ def ksl(A, y0, tau, verb=1, scheme='symm', space=8, rmax=2000, use_normest=1):
0.0
"""

y0 = y0.round(1e-14) # This will fix ranks
# to be no more than maximal reasonable.
# Fortran part doesn't handle excessive ranks
ry = y0.r.copy()
if scheme is 'symm':
tp = 2
Expand Down Expand Up @@ -178,9 +175,6 @@ def diag_ksl(A, y0, tau, verb=1, scheme='symm', space=8, rmax=2000):
>>> print tt.dot(y1, y0) / (y1.norm() * y0.norm()) - 1 #Eigenvectors should not change
0.0
"""
y0 = y0.round(1e-14) # This will fix ranks
# to be no more than maximal reasonable.
# Fortran part doesn't handle excessive ranks
ry = y0.r.copy()
if scheme is 'symm':
tp = 2
Expand Down

0 comments on commit a50d5e0

Please sign in to comment.