@@ -37,17 +37,16 @@ eltypes = (Float64, ComplexF64)
3737 @timedtestset " $(TensorKit. type_repr (sectortype (eltype (V)))) ($T )" for V in spacelist, T in eltypes
3838 atol = default_tol (T)
3939 rtol = default_tol (T)
40- C = randn (T, V[1 ] ⊗ V[2 ] ← V[3 ] ⊗ V[4 ] ⊗ V[5 ])
41- A = randn (T, V[1 ] ⊗ V[2 ] ← V[3 ] ⊗ V[4 ] ⊗ V[5 ])
4240 α = randn (T)
4341 @testset for TC in (Duplicated,), Tα in (Active, Const)
42+ C = randn (T, V[1 ] ⊗ V[2 ] ← V[3 ] ⊗ V[4 ] ⊗ V[5 ])
4443 EnzymeTestUtils. test_reverse (scale!, TC, (C, TC), (α, Tα); atol, rtol)
44+ C = randn (T, V[1 ] ⊗ V[2 ] ← V[3 ] ⊗ V[4 ] ⊗ V[5 ])
4545 EnzymeTestUtils. test_reverse (scale!, TC, (C' , TC), (α, Tα); atol, rtol)
46- @testset for TA in (Duplicated,)
47- EnzymeTestUtils. test_reverse (scale!, TC, (C, TC), (A, TA), (α, Tα); atol, rtol)
48- EnzymeTestUtils. test_reverse (scale!, TC, (C' , TC), (A' , TA), (α, Tα); atol, rtol)
49- EnzymeTestUtils. test_reverse (scale!, TC, (copy (C' ), TC), (A' , TA), (α, Tα); atol, rtol)
50- EnzymeTestUtils. test_reverse (scale!, TC, (C' , TC), (copy (A' ), TA), (α, Tα); atol, rtol)
46+ @testset for TA in (Duplicated,), (fc, fa) in ((identity, identity), (adjoint, adjoint))
47+ C = randn (T, V[1 ] ⊗ V[2 ] ← V[3 ] ⊗ V[4 ] ⊗ V[5 ])
48+ A = randn (T, V[1 ] ⊗ V[2 ] ← V[3 ] ⊗ V[4 ] ⊗ V[5 ])
49+ EnzymeTestUtils. test_reverse (scale!, TC, (fc (C), TC), (fa (A), TA), (α, Tα); atol, rtol)
5150 end
5251 end
5352 end
0 commit comments