We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
tol
remove_orphans(::InfiniteMPO)
FiniteMPO
1 parent d86b5fa commit 742ffffCopy full SHA for 742ffff
src/operators/mpo.jl
@@ -81,7 +81,7 @@ function remove_orphans!(mpo::InfiniteMPO; tol=eps(real(scalartype(mpo)))^(3 / 4
81
return mpo
82
end
83
84
-function remove_orphans!(mpo::FiniteMPO, tol=eps(real(scalartype(mpo)))^(3 / 4))
+function remove_orphans!(mpo::FiniteMPO; tol=eps(real(scalartype(mpo)))^(3 / 4))
85
droptol!.(mpo, tol)
86
87
# Forward sweep
0 commit comments