We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d7ce3c commit b82f333Copy full SHA for b82f333
1 file changed
test/abstracttensor/blocktensor.jl
@@ -86,6 +86,8 @@ end
86
# test conversion to TensorMap that isn't backed by a Vector
87
jl_bt1 = rand(JLVector{T}, W)
88
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
91
JLArrays.@allowscalar begin # to avoid scalar indexing error in Strided
92
jl_bt1′ = @constinferred convert(TT, jl_bt1)
93
jl_bt1″ = @inferred BlockTensorMap(jl_bt1′, W)
0 commit comments