Skip to content

Commit 4e0b970

Browse files
committed
bugfix b541ff0 again
1 parent f2ae6aa commit 4e0b970

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_exact.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,8 @@ def test_build_dense_exact_kernel_to_data(**kwargs):
468468
assert(np.sum(G.kernel != (K + K.T) / 2) == 0)
469469

470470

471-
def test_build_dense_exact_fixed_bw_kernel_to_data(**kwargs):
472-
G = build_graph(data, decay=10, thresh=0, bandwidth=5)
471+
def test_build_dense_exact_callable_bw_kernel_to_data(**kwargs):
472+
G = build_graph(data, decay=10, thresh=0, bandwidth=lambda x: x.mean(0))
473473
n = G.data.shape[0]
474474
K = G.build_kernel_to_data(data[:n // 2, :])
475475
assert(K.shape == (n // 2, n))

0 commit comments

Comments
 (0)