Skip to content

Commit

Permalink
Merge pull request #40 from quantumghent/fix#39
Browse files Browse the repository at this point in the history
Fix typo in VectorInterface implementation for CTMRGEnv
  • Loading branch information
pbrehmer authored Jun 5, 2024
2 parents 4bc4980 + b2e3428 commit 9886a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/environments/ctmrgenv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ VI.scale!!(env₁::CTMRGEnv, env₂::CTMRGEnv, α::Number) = scale!(env₁, env
function VI.add(env₁::CTMRGEnv, env₂::CTMRGEnv, α::Number, β::Number)
_add(x, y) = add(x, y, α, β)
return CTMRGEnv(
map(_add, env₁.corners, env₂.corners), map(_add, env₁.corners, env₂.corners)
map(_add, env₁.corners, env₂.corners), map(_add, env₁.edges, env₂.edges)
)
end
function VI.add!(env₁::CTMRGEnv, env₂::CTMRGEnv, α::Number, β::Number)
Expand Down

0 comments on commit 9886a45

Please sign in to comment.