Skip to content

Commit afae9cd

Browse files
committed
Correct comment
1 parent 674d8f9 commit afae9cd

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
@@ -129,7 +129,7 @@ def smooth_power_curve(power_curve_wind_speeds, power_curve_values,
129129
standard_deviation, mean_gauss)
130130
for wind_speed in wind_speeds_block)
131131
# Add value to list - add zero if `smoothed_value` is nan as Gauss
132-
# distribution is not defined for zero.
132+
# distribution for a standard deviation of zero.
133133
smoothed_power_curve_values.append(0 if np.isnan(smoothed_value)
134134
else smoothed_value)
135135
# Create smoothed power curve data frame

0 commit comments

Comments
 (0)