Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/operators/mpo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Base.isfinite(::Type{<:InfiniteMPO}) = false
function InfiniteMPO(Os::AbstractVector{O}) where {O}
for i in eachindex(Os)
right_virtualspace(Os[i]) == left_virtualspace(Os[mod1(i + 1, end)]) ||
throw(SpaceMismatch("umatching virtual spaces at site $i"))
throw(SpaceMismatch("unmatching virtual spaces at site $i"))
end
return InfiniteMPO{O}(Os)
end
Expand Down