Skip to content

Commit 6eb493a

Browse files
committed
Fix bug
1 parent f8bd334 commit 6eb493a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solver.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ function solve!(solver::Solver, body_aero::BodyAerodynamics, gamma_distribution=
174174
va_mag = norm(body_aero.va)
175175
va = body_aero.va
176176
va_unit = va / va_mag
177-
@. q_inf = 0.5 * density * va^2
177+
q_inf = 0.5 .* density .* va .^ 2
178178

179179
# Calculate wing geometry properties
180180
projected_area = body_aero.projected_area

0 commit comments

Comments
 (0)