Skip to content

Commit 8e0039c

Browse files
author
Chahan Kropf
committed
Update impact calc test to use correct distance threshold
1 parent 4bb02cd commit 8e0039c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

climada/entity/exposures/test/test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def test_assign_raster_pass(self):
212212
0.0,
213213
],
214214
)
215-
exp.assign_centroids(haz, threshold=100)
215+
exp.assign_centroids(haz, threshold=u_coord.km_to_degree(100))
216216

217217
expected_result = [
218218
# constant y-value, varying x-value

0 commit comments

Comments
 (0)