From 29a506dfae1246467a3389b84370d8dd938c0eb9 Mon Sep 17 00:00:00 2001 From: kmp5VT Date: Mon, 20 May 2024 14:30:32 -0400 Subject: [PATCH] forgot @test --- NDTensors/test/test_diag.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NDTensors/test/test_diag.jl b/NDTensors/test/test_diag.jl index 8a3ea7f985..46a4ab15ac 100644 --- a/NDTensors/test/test_diag.jl +++ b/NDTensors/test/test_diag.jl @@ -67,7 +67,7 @@ end ## Testing sparse contractions on GPU t = tensor(Diag(one(Float64)), (3, 3)) - contract(t, (-1, -2), dev(A), (-1, -2))[] == dot(t, A) + @test contract(t, (-1, -2), dev(A), (-1, -2))[] == dot(t, A) end nothing end