We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acb439c commit 0a78629Copy full SHA for 0a78629
1 file changed
src/tensors/braidingtensor.jl
@@ -28,7 +28,8 @@ struct BraidingTensor{T, S, A} <: AbstractTensorMap{T, S, 2, 2}
28
end
29
30
function BraidingTensor{T}(V1::S, V2::S, adjoint::Bool = false) where {T, S <: IndexSpace}
31
- return BraidingTensor{T, S, similarstoragetype{T}}(V1, V2, adjoint)
+ TA = similarstoragetype{T}
32
+ return BraidingTensor{T, S, TA}(V1, V2, adjoint)
33
34
function BraidingTensor(V1::S, V2::S, adjoint::Bool = false) where {S <: IndexSpace}
35
T = BraidingStyle(sectortype(S)) isa SymmetricBraiding ? Float64 : ComplexF64
0 commit comments