Skip to content

Commit

Permalink
Fix missing conj in for TensorMaps with complex F-symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Oct 4, 2023
1 parent b3f5edb commit a92ed81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tensors/linalg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ function ⊗(t1::AbstractTensorMap{S}, t2::AbstractTensorMap{S}) where {S}
m1 = reshape(t1[f1l, f1r], (d1, 1, d3, 1))
m2 = reshape(t2[f2l, f2r], (1, d2, 1, d4))
m = reshape(t[fl, fr], (d1, d2, d3, d4))
m .+= coeff1 .* coeff2 .* m1 .* m2
m .+= coeff1 .* conj(coeff2) .* m1 .* m2
end
end
end
Expand Down

0 comments on commit a92ed81

Please sign in to comment.