Skip to content

Commit eda5f18

Browse files
authored
Formatting (#299)
1 parent e344ab0 commit eda5f18

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

funtofem/interface/fun3d_14_interface.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,9 @@ def set_functions(self, scenario, bodies):
314314
"""
315315

316316
# check if any aerodynamic functions
317-
any_aerodynamic = any([func.analysis_type == "aerodynamic" for func in scenario.functions])
317+
any_aerodynamic = any(
318+
[func.analysis_type == "aerodynamic" for func in scenario.functions]
319+
)
318320

319321
ct = 0
320322
for function in scenario.functions:
@@ -324,7 +326,7 @@ def set_functions(self, scenario, bodies):
324326
if function.analysis_type != "aerodynamic":
325327
start = 1
326328
stop = 1
327-
329+
328330
if ct == 1 and scenario.early_stopping and any_aerodynamic:
329331
raise AssertionError(
330332
"Need to register an aerodynamic function first otherwise the Adjoint early stopping criterion fails"

0 commit comments

Comments
 (0)