Skip to content

Commit 5166fba

Browse files
committed
Update outdated names
1 parent f97d473 commit 5166fba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/operators/abstractmpo.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ abstract type AbstractHMPO{O<:MPOTensor} <: AbstractMPO{O} end
1818

1919
function HMPO(lattice::AbstractVector{S}, terms...) where {S<:VectorSpace}
2020
if lattice isa PeriodicArray
21-
return InfiniteHamiltonianMPO(lattice, terms...)
21+
return InfiniteMPOHamiltonian(lattice, terms...)
2222
else
23-
return FiniteHamiltonianMPO(lattice, terms...)
23+
return FiniteMPOHamiltonian(lattice, terms...)
2424
end
2525
end
2626
function HMPO(operator::AbstractTensorMap{E,S,N,N}; L=Inf) where {E,S,N}

0 commit comments

Comments
 (0)