We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24bc519 commit b076469Copy full SHA for b076469
1 file changed
src/wing_geometry.jl
@@ -1067,8 +1067,6 @@ function refine_mesh_for_linear_cosine_distribution!(
1067
new_quarter_chord = zeros(Float64, n_sections, 3)
1068
new_LE = zeros(Float64, n_sections, 3)
1069
new_TE = zeros(Float64, n_sections, 3)
1070
- new_sections = Section[]
1071
-
1072
# 3. Calculate new points and interpolate
1073
for i in 1:n_sections
1074
target_length = target_lengths[i]
@@ -1233,7 +1231,6 @@ function refine_mesh_by_splitting_provided_sections!(wing::AbstractWing; reuse_a
1233
1231
else
1234
1232
reinit!(wing.refined_sections[idx], wing.unrefined_sections[end])
1235
end
1236
- idx += 1
1237
1238
# Validate result
1239
if length(wing.refined_sections) != wing.n_panels + 1
0 commit comments