Skip to content

Commit dec97ac

Browse files
committed
Add comment
1 parent daa7f6d commit dec97ac

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/body_aerodynamics.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,9 @@ function update_effective_angle_of_attack!(alpha_corrected,
444444
AIC_x, AIC_y, AIC_z = @views body_aero.AIC[1, :, :], body_aero.AIC[2, :, :], body_aero.AIC[3, :, :]
445445

446446
# Preallocate and calculate induced velocity directly
447+
# TODO rewrite
447448
induced_velocity = cache_body[1][va_array]
448-
induced_velocity[:, 1] .= AIC_x * gamma
449+
induced_velocity[:, 1] .= AIC_x * gamma # 304 bytes
449450
induced_velocity[:, 2] .= AIC_y * gamma
450451
induced_velocity[:, 3] .= AIC_z * gamma
451452

0 commit comments

Comments
 (0)