Skip to content

Commit 0c884ce

Browse files
committed
dense kernel
1 parent 28b3472 commit 0c884ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_mnn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def test_single_sample_idx():
233233
)
234234
G = build_graph(data, sample_idx=np.repeat(1, len(data)))
235235
G2 = build_graph(data)
236-
assert (G.K - G2.K).nnz == 0
236+
np.testing.assert_array_equal(G.K, G2.K)
237237

238238

239239
def test_mnn_with_non_zero_indexed_sample_idx():

0 commit comments

Comments
 (0)