Skip to content

Commit 2bcc302

Browse files
committed
Remove redundant parentheses
1 parent 66ed128 commit 2bcc302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

windpowerlib/power_curves.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def smooth_power_curve(power_curve_wind_speeds, power_curve_values,
104104
smoothed_power_curve_values = []
105105
# Append wind speeds to `power_curve_wind_speeds`
106106
maximum_value = power_curve_wind_speeds.values[-1] + wind_speed_range
107-
while (power_curve_wind_speeds.values[-1] < maximum_value):
107+
while power_curve_wind_speeds.values[-1] < maximum_value:
108108
power_curve_wind_speeds = power_curve_wind_speeds.append(
109109
pd.Series(power_curve_wind_speeds.iloc[-1] + 0.5,
110110
index=[power_curve_wind_speeds.index[-1] + 1]))

0 commit comments

Comments
 (0)