Skip to content

Commit b82f333

Browse files
committed
Add comment
1 parent 2d7ce3c commit b82f333

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/abstracttensor/blocktensor.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ end
8686
# test conversion to TensorMap that isn't backed by a Vector
8787
jl_bt1 = rand(JLVector{T}, W)
8888
TT = TensorKit.TensorMap{T, spacetype(t1′), numout(t1′), numin(t1′), JLVector{T}}
89+
# The @allowscalar here can be removed once QuantumKitHub/Strided.jl#44 and
90+
# QuantumKitHub/StridedViews.jl#31 are merged and new versions are tagged
8991
JLArrays.@allowscalar begin # to avoid scalar indexing error in Strided
9092
jl_bt1′ = @constinferred convert(TT, jl_bt1)
9193
jl_bt1″ = @inferred BlockTensorMap(jl_bt1′, W)

0 commit comments

Comments
 (0)