Skip to content

Commit da3c147

Browse files
committed
fix typo
1 parent c8bea98 commit da3c147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operators/mpohamiltonian.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function InfiniteMPOHamiltonian{O}(W_mats::Vector{<:Matrix}) where {O<:MPOTensor
156156
size(W_mat, 1) == size(W_mat, 2) ||
157157
throw(ArgumentError("matrices should be square"))
158158
end
159-
allequal(Base.Fix1(size, 1), W_mats) ||
159+
allequal(Base.Fix2(size, 1), W_mats) ||
160160
throw(ArgumentError("matrices should have the same size"))
161161
nlvls = size(W_mats[1], 1)
162162

0 commit comments

Comments
 (0)