Skip to content

Commit 10c95b1

Browse files
Fix typo in InfiniteMPO constructor errormessage (#302)
1 parent 2a7856c commit 10c95b1

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
@@ -41,7 +41,7 @@ Base.isfinite(::Type{<:InfiniteMPO}) = false
4141
function InfiniteMPO(Os::AbstractVector{O}) where {O}
4242
for i in eachindex(Os)
4343
right_virtualspace(Os[i]) == left_virtualspace(Os[mod1(i + 1, end)]) ||
44-
throw(SpaceMismatch("umatching virtual spaces at site $i"))
44+
throw(SpaceMismatch("unmatching virtual spaces at site $i"))
4545
end
4646
return InfiniteMPO{O}(Os)
4747
end

0 commit comments

Comments
 (0)