Skip to content

Commit

Permalink
Remove unnessary abs
Browse files Browse the repository at this point in the history
  • Loading branch information
SorooshMani-NOAA committed Dec 4, 2023
1 parent 0791e17 commit 5b7c4e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ensembleperturbation/perturbation/atcf.py
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ def perturb(
alpha = 0

# compute the next point and retrieve back the lat-lon geographic coordinate
new_point = current_point - abs(alpha) * normal_offset
new_point = current_point - alpha * normal_offset
new_coordinates.append(
transformer.transform(
new_point[0].magnitude,
Expand Down

0 comments on commit 5b7c4e4

Please sign in to comment.