Skip to content

Commit

Permalink
Ruff.
Browse files Browse the repository at this point in the history
  • Loading branch information
misi9170 committed Mar 12, 2024
1 parent 78fd29c commit 7dea2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion floris/parallel_floris_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def get_farm_AEP(
)

# Verify dimensions of the variable "freq"
if ((self._is_uncertain and np.shape(freq)[0] != self._n_unexpanded) or
if ((self._is_uncertain and np.shape(freq)[0] != self._n_unexpanded) or
(not self._is_uncertain and np.shape(freq)[0] != self.fmodel.core.flow_field.n_findex)):
raise UserWarning(
"'freq' should be a one-dimensional array with dimensions (n_findex). "
Expand Down

0 comments on commit 7dea2a9

Please sign in to comment.