diff --git a/src/mps/measure.jl b/src/mps/measure.jl index ce48be4..04a8c5f 100644 --- a/src/mps/measure.jl +++ b/src/mps/measure.jl @@ -125,7 +125,7 @@ measure(::Type{T}, psi::MPS, opstr::String, measure(T, psi, op(opstr, siteind(psi, pos))) measure(psi::MPS, opstr::String, pos::Int) = - measure(ComplexF64, psi, opstr, Int) + measure(ComplexF64, psi, opstr, pos) #################################################################################