Skip to content

Commit

Permalink
resotre type
Browse files Browse the repository at this point in the history
  • Loading branch information
lpawela committed Feb 9, 2021
1 parent 89c0ef1 commit 7833f48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/contractions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ end
function LinearAlgebra.dot(O::AbstractMPO, ψ::AbstractMPS)
L = length(ψ)
S = promote_type(eltype(ψ), eltype(O))
T = typeof(ψ)
ϕ = T.name.wrapper(S, L)

for i 1:L
Expand Down

0 comments on commit 7833f48

Please sign in to comment.