From 387da03b91bd27b885eda391a87d0b1c3f07048b Mon Sep 17 00:00:00 2001 From: Katharine Hyatt Date: Mon, 9 Nov 2026 09:57:52 -0500 Subject: [PATCH] Fix spaces for adapt SectorVector tests --- test/amd/tensors.jl | 2 +- test/cuda/tensors.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/amd/tensors.jl b/test/amd/tensors.jl index d0c9ca014..453933d72 100644 --- a/test/amd/tensors.jl +++ b/test/amd/tensors.jl @@ -107,7 +107,7 @@ for V in spacelist v_cpu = @constinferred adapt(Array, v_gpu) @test v_cpu isa TensorKit.SectorVector{T, I, Vector{T}} @test parent(v_cpu) == parent(v) - t = AMDGPU.randn(T, V1 ⊗ V2 ← V3) + t = AMDGPU.randn(T, V1 ⊗ V2 ⊗ V3 ← (V4 ⊗ V5)') s = svd_vals(t) s_cpu = adapt(Array, s) @test parent(s_cpu) == collect(parent(s)) diff --git a/test/cuda/tensors.jl b/test/cuda/tensors.jl index 750d7384a..f4c178549 100644 --- a/test/cuda/tensors.jl +++ b/test/cuda/tensors.jl @@ -126,7 +126,7 @@ for V in spacelist v_cpu = @constinferred adapt(Array, v_gpu) @test v_cpu isa TensorKit.SectorVector{T, I, Vector{T}} @test parent(v_cpu) == parent(v) - t = CUDA.randn(T, V1 ⊗ V2 ← V3) + t = CUDA.randn(T, V1 ⊗ V2 ⊗ V3 ← (V4 ⊗ V5)') s = svd_vals(t) s_cpu = adapt(Array, s) @test parent(s_cpu) == collect(parent(s))