Skip to content

Commit 742ffff

Browse files
make tol a kwarg in remove_orphans(::InfiniteMPO) just as the FiniteMPO case (#222)
1 parent d86b5fa commit 742ffff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operators/mpo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function remove_orphans!(mpo::InfiniteMPO; tol=eps(real(scalartype(mpo)))^(3 / 4
8181
return mpo
8282
end
8383

84-
function remove_orphans!(mpo::FiniteMPO, tol=eps(real(scalartype(mpo)))^(3 / 4))
84+
function remove_orphans!(mpo::FiniteMPO; tol=eps(real(scalartype(mpo)))^(3 / 4))
8585
droptol!.(mpo, tol)
8686

8787
# Forward sweep

0 commit comments

Comments
 (0)