From 8486c2df98b0e189f840702a96aebbb9e6c217db Mon Sep 17 00:00:00 2001 From: Intron7 Date: Mon, 4 Nov 2024 17:09:14 +0100 Subject: [PATCH] update test --- tests/test_neighbors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_neighbors.py b/tests/test_neighbors.py index a188bedf..a17eb8c6 100644 --- a/tests/test_neighbors.py +++ b/tests/test_neighbors.py @@ -95,8 +95,8 @@ def test_trimming(): cnts_gpu = X_to_GPU(adata.obsp["connectivities"]).astype(np.float32) cnts_cpu = adata.obsp["connectivities"].astype(np.float32) - cnts_cpu = trimming_cpu(cnts_gpu, 5) - cnts_gpu = trimming_gpu(cnts_cpu, 5) + cnts_cpu = trimming_cpu(cnts_cpu, 5) + cnts_gpu = trimming_gpu(cnts_gpu, 5) cp.testing.assert_array_equal(cnts_cpu.data, cnts_gpu.data) cp.testing.assert_array_equal(cnts_cpu.indices, cnts_gpu.indices)