Skip to content

Commit 3ac60b5

Browse files
committed
Fix for BraidingTensor w storagetype
1 parent 49f71d5 commit 3ac60b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tensors/braidingtensor.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ end
5656
# these are here to make the preprocessing for `@planar` expressions less painful
5757
function BraidingTensor(TorA::Type, V1::S, V2::S, adjoint::Bool = false) where {S <: IndexSpace}
5858
T = eltype(TorA)
59-
TA = storagetype(TorA)
59+
TA = similarstoragetype(TorA)
6060
return BraidingTensor{T, S, TA}(V1, V2, adjoint)
6161
end
6262
function BraidingTensor(TorA::Type, V1::IndexSpace, V2::IndexSpace, adjoint::Bool = false)

0 commit comments

Comments
 (0)