Skip to content

Commit bd1e0f8

Browse files
author
Serge Rey
committed
debug failing ci for lat2SW
1 parent b9b61a3 commit bd1e0f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libpysal/weights/tests/test_util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def test_lat2SW(self):
3434
w9 = util.lat2SW(3, 3)
3535
rows, cols = w9.shape
3636
n = rows * cols
37+
self.assertEqual(w9.nnz, 24)
3738
pct_nonzero = w9.nnz / float(n)
3839
self.assertEqual(pct_nonzero, 0.29629629629629628)
3940
data = w9.todense().tolist()

0 commit comments

Comments
 (0)