Skip to content

Commit

Permalink
Minor cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
misi9170 committed Sep 16, 2024
1 parent 9aaf49b commit 156ed32
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions floris/uncertain_floris_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,10 +702,10 @@ def get_farm_AVP(
of value.
"""
if (
freq is None
and not isinstance(self.fmodel_unexpanded.wind_data, WindRose)
and not isinstance(self.fmodel_unexpanded.wind_data, WindRoseWRG)
and not isinstance(self.fmodel_unexpanded.wind_data, WindTIRose)
freq is None and not isinstance(
self.fmodel_unexpanded.wind_data,
(WindRose, WindRoseWRG, WindTIRose)
)
):
self.logger.warning(
"Computing AVP with uniform frequencies. Results results may not reflect annual "
Expand Down

0 comments on commit 156ed32

Please sign in to comment.