Skip to content

Commit

Permalink
Merge pull request #98 from lapix-ufsc/chore-np2
Browse files Browse the repository at this point in the history
chore (convert): ensure numpy 2 sintax
  • Loading branch information
johnnv1 authored Jul 16, 2024
2 parents b07be35 + 8243f19 commit d964b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lapixdl/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def lbox_geo_to_shapely(object: dict[str, Any]) -> Polygon | Point | float:
point = object['point']
geometry = Point(np.array([point['x'], point['y']]))
else:
geometry = np.NaN
geometry = np.nan
return geometry


Expand Down

0 comments on commit d964b24

Please sign in to comment.