Skip to content

Commit 74c3e5c

Browse files
committed
Correct line to follow PEP8 (and E712)
1 parent c877172 commit 74c3e5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

windpowerlib/modelchain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,8 @@ def run_model(self, weather, data_height):
351351
352352
"""
353353
v_wind = self.v_wind_hub(weather, data_height)
354-
rho_hub = None if (self.power_output_model=='p_values' and
355-
self.density_corr==False) \
354+
rho_hub = None if (self.power_output_model == 'p_values' and
355+
self.density_corr is False) \
356356
else self.rho_hub(weather, data_height)
357357
self.power_output = self.turbine_power_output(v_wind, rho_hub)
358358
return self

0 commit comments

Comments
 (0)