File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -244,14 +244,14 @@ for V in spacelist
244244 end
245245 end
246246 end
247- @timedtestset " Tensor conversion" begin # TODO adjoint conversion methods don't work yet
247+ @timedtestset " Tensor conversion" begin
248248 W = V1 ⊗ V2
249249 t = @constinferred AMDGPU. randn (W ← W)
250- # @test typeof(convert(TensorMap, t')) == typeof(t) # TODO Adjoint not supported yet
250+ @test typeof (convert (TensorMap, t' )) == typeof (t)
251251 tc = complex (t)
252252 @test convert (typeof (tc), t) == tc
253253 @test typeof (convert (typeof (tc), t)) == typeof (tc)
254- # @test typeof(convert(typeof(tc), t')) == typeof(tc) # TODO Adjoint not supported yet
254+ @test typeof (convert (typeof (tc), t' )) == typeof (tc)
255255 @test Base. promote_typeof (t, tc) == typeof (tc)
256256 @test Base. promote_typeof (tc, t) == typeof (tc + t)
257257 end
@@ -582,6 +582,7 @@ for V in spacelist
582582 TensorKit. empty_globalcaches! ()
583583end
584584
585+ #=
585586@timedtestset "Deligne tensor product: test via conversion" begin
586587 Vlists1 = (Vtr,) # VSU₂)
587588 Vlists2 = (Vtr,) # Vℤ₂)
603604 end
604605 end
605606 end
606- end
607+ end=# # broken without TensorOperations
You can’t perform that action at this time.
0 commit comments