Skip to content

Commit 0a78629

Browse files
committed
Try to fix bad suggestion
1 parent acb439c commit 0a78629

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/tensors/braidingtensor.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ struct BraidingTensor{T, S, A} <: AbstractTensorMap{T, S, 2, 2}
2828
end
2929
end
3030
function BraidingTensor{T}(V1::S, V2::S, adjoint::Bool = false) where {T, S <: IndexSpace}
31-
return BraidingTensor{T, S, similarstoragetype{T}}(V1, V2, adjoint)
31+
TA = similarstoragetype{T}
32+
return BraidingTensor{T, S, TA}(V1, V2, adjoint)
3233
end
3334
function BraidingTensor(V1::S, V2::S, adjoint::Bool = false) where {S <: IndexSpace}
3435
T = BraidingStyle(sectortype(S)) isa SymmetricBraiding ? Float64 : ComplexF64

0 commit comments

Comments
 (0)