Skip to content

Commit

Permalink
Update coloredlogs requirement (#939)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulf81 authored Jul 9, 2024
1 parent 5ea0c56 commit 1ac4de2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,18 @@ def wake_profile_ub_turbii(x):
y = (y0 + D[ii]) + (x - x0) * wake_slope
if isinstance(y, (float, np.float64, np.float32)):
if x < (x0 + 0.01):
y = -np.Inf
y = -np.inf
else:
y[x < x0 + 0.01] = -np.Inf
y[x < x0 + 0.01] = -np.inf
return y

def wake_profile_lb_turbii(x):
y = (y0 - D[ii]) - (x - x0) * wake_slope
if isinstance(y, (float, np.float64, np.float32)):
if x < (x0 + 0.01):
y = -np.Inf
y = -np.inf
else:
y[x < x0 + 0.01] = -np.Inf
y[x < x0 + 0.01] = -np.inf
return y

def determine_if_in_wake(xt, yt):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"shapely~=2.0",

# utilities
"coloredlogs~=10.0",
"coloredlogs~=15.0",
]

# What packages are optional?
Expand Down

0 comments on commit 1ac4de2

Please sign in to comment.