Skip to content

Commit 3ff503c

Browse files
committed
np, not numpy
1 parent f645306 commit 3ff503c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libpysal/weights/weights.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def to_adjlist(
309309
links = []
310310
for idx, neighb in self:
311311
if len(neighb) == 0:
312-
links.append((idx, None, numpy.nan))
312+
links.append((idx, None, np.nan))
313313
continue
314314
for n, w in neighb.items():
315315
links.append((idx, n, w))

0 commit comments

Comments
 (0)