Skip to content

Commit cfe5a53

Browse files
committed
Fix warning
1 parent 2ada45c commit cfe5a53

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

examples/ram_air_kite.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,12 @@ end
7272

7373
# Solving
7474
println("Solve")
75-
results = nothing
7675
results = VortexStepMethod.solve(solver, body_aero; log=true)
77-
@time results = VortexStepMethod.solve(solver, body_aero; log=true)
76+
@time VortexStepMethod.solve(solver, body_aero; log=true)
7877

7978
body_y_coordinates = [panel.aero_center[2] for panel in body_aero.panels]
8079

81-
if PLOT && !isnothing(results)
80+
if PLOT
8281
plot_combined_analysis(
8382
solver,
8483
body_aero,

0 commit comments

Comments
 (0)