Skip to content

Commit 62e7cf8

Browse files
committed
use dot operator more
1 parent 2db705c commit 62e7cf8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/body_aerodynamics.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ function calculate_panel_properties(section_list::Vector{Section}, n_panels::Int
151151
@debug "Shape of coordinates: $(size(coords))"
152152

153153
for i in 1:n_panels
154-
coords[2i-1, :] = section_list[i].LE_point
155-
coords[2i, :] = section_list[i].TE_point
156-
coords[2i+1, :] = section_list[i+1].LE_point
157-
coords[2i+2, :] = section_list[i+1].TE_point
154+
coords[2i-1, :] .= section_list[i].LE_point
155+
coords[2i, :] .= section_list[i].TE_point
156+
coords[2i+1, :] .= section_list[i+1].LE_point
157+
coords[2i+2, :] .= section_list[i+1].TE_point
158158
end
159159

160160
@debug "Coordinates: $coords"

0 commit comments

Comments
 (0)