Skip to content

Commit 45e12d4

Browse files
committed
Fix
1 parent a691346 commit 45e12d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tensors/braidingtensor.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ struct BraidingTensor{T,S} <: AbstractTensorMap{T,S,2,2}
2828
# partial construction: only construct rowr and colr when needed
2929
end
3030
end
31-
function BraidingTensor{T}(V1::IndexSpace, V2::IndexSpace, adjoint::Bool=false) where {T}
32-
return BraidingTensor{T,S}(promote(V1, V2)..., adjoint)
31+
function BraidingTensor{T}(V1::S, V2::S, adjoint::Bool=false) where {T,S}
32+
return BraidingTensor{T,S}(V1, V2, adjoint)
3333
end
3434
function BraidingTensor{T}(V1::IndexSpace, V2::IndexSpace, adjoint::Bool=false) where {T}
3535
return BraidingTensor{T}(promote(V1, V2)..., adjoint)

0 commit comments

Comments
 (0)