Skip to content

Commit

Permalink
Fix broken hausdorff test (#1295)
Browse files Browse the repository at this point in the history
This PR revises the gold result of hausdorff empty input test to address
an upstream change in cudf.

Authors:
   - Michael Wang (https://github.com/isVoid)
   - Mark Harris (https://github.com/harrism)

Approvers:
   - Bradley Dice (https://github.com/bdice)
   - Vyas Ramasubramani (https://github.com/vyasr)
   - Mark Harris (https://github.com/harrism)
   - H. Thomson Comer (https://github.com/thomcom)
  • Loading branch information
isVoid authored Nov 16, 2023
1 parent 8731137 commit 252165c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/cuspatial/cuspatial/core/spatial/distance.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def directed_hausdorff_distance(multipoints: GeoSeries):

num_spaces = len(multipoints)
if num_spaces == 0:
return DataFrame()
return DataFrame([])

if not contains_only_multipoints(multipoints):
raise ValueError("Input must be a series of multipoints.")
Expand Down

0 comments on commit 252165c

Please sign in to comment.