Skip to content

Commit

Permalink
Blacken
Browse files Browse the repository at this point in the history
  • Loading branch information
LSchueler committed Feb 21, 2020
1 parent c7e526d commit 7001713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gstools/transform/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,5 +442,5 @@ def _uniform_to_uquad(field, a=0, b=1):
y_raw = 3 * field / al + ga
out = np.zeros_like(y_raw)
out[y_raw > 0] = y_raw[y_raw > 0] ** (1 / 3)
out[y_raw < 0] = -(-y_raw[y_raw < 0]) ** (1 / 3)
out[y_raw < 0] = -((-y_raw[y_raw < 0]) ** (1 / 3))
return out + be

0 comments on commit 7001713

Please sign in to comment.