Skip to content

Commit

Permalink
Ups
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaussion committed Jul 9, 2024
1 parent 098803e commit 5231a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salem/gis.py
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,7 @@ def _transform_internal(p1, p2, x, y, **kwargs):
with warnings.catch_warnings():
# https://github.com/pyproj4/pyproj/issues/1415
warnings.filterwarnings("ignore", category=DeprecationWarning,
message=".*ndim > 1 to a scalar.*")
message=".*ndim > 0 to a scalar.*")
return trf.transform(x, y)
else:
return pyproj.transform(p1, p2, x, y, **kwargs)
Expand Down

0 comments on commit 5231a88

Please sign in to comment.