Skip to content

Commit 250a3d6

Browse files
committed
fix tests and finalize
1 parent 3efd2a7 commit 250a3d6

File tree

2 files changed

+145
-110
lines changed

2 files changed

+145
-110
lines changed

libpysal/weights/distance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def __init__(
119119
if ids is None:
120120
ids = list(full_indices)
121121

122-
neighbors = dict(zip(ids, not_self_indices))
122+
neighbors = dict(zip(ids, map(list, not_self_indices)))
123123

124124
W.__init__(self, neighbors, id_order=ids, **kwargs)
125125

0 commit comments

Comments
 (0)