Skip to content

Commit

Permalink
pr suggestions in test_azp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gegen07 committed Oct 24, 2023
1 parent 031dc11 commit 8e582af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spopt/tests/test_azp.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ def test_azp_basic_from_w(self):
weights = {}
for k, v in w.neighbors.items():
arr = []
x = MEXICO.iloc[k].geometry.centroid
x = self.mexico.iloc[k].geometry.centroid
for n in v:
y = MEXICO.iloc[n].geometry.centroid
y = self.mexico.iloc[n].geometry.centroid
arr.append(x.distance(y))
weights[k] = arr
neighbors = w.neighbors
Expand Down

0 comments on commit 8e582af

Please sign in to comment.