Skip to content

Commit

Permalink
Propagate keyword args to factorize inside orthogonalize!
Browse files Browse the repository at this point in the history
  • Loading branch information
emstoudenmire committed Jun 24, 2020
1 parent 1c95292 commit ad27d29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mps/abstractmps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ function orthogonalize!(M::AbstractMPS,
(leftlim(M) < 0) && setleftlim!(M, 0)
b = leftlim(M)+1
linds = uniqueinds(M[b],M[b+1])
L,R = factorize(M[b], linds)
L,R = factorize(M[b], linds;kwargs...)
M[b] = L
M[b+1] *= R

Expand All @@ -602,7 +602,7 @@ function orthogonalize!(M::AbstractMPS,
(rightlim(M) > (N+1)) && setrightlim!(M,N+1)
b = rightlim(M)-2
rinds = uniqueinds(M[b+1],M[b])
L,R = factorize(M[b+1], rinds)
L,R = factorize(M[b+1], rinds;kwargs...)
M[b+1] = L
M[b] *= R

Expand Down

0 comments on commit ad27d29

Please sign in to comment.