summaryrefslogtreecommitdiff
path: root/creator.py
diff options
context:
space:
mode:
authorMarius Peter <blendoit@gmail.com>2019-06-23 02:17:21 -0700
committerMarius Peter <blendoit@gmail.com>2019-06-23 02:17:21 -0700
commit7a7c4840386adc45ed84985784d57fe3fc345c07 (patch)
tree8c89fd0f539293aa64d1af93ed6cac6c2a4db87a /creator.py
parent3074c4c8cbeac6a6e5a4d7fa4a8afe34ec39911d (diff)
bugfix
Diffstat (limited to 'creator.py')
-rw-r--r--creator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/creator.py b/creator.py
index aa9fcbd..0bfe529 100644
--- a/creator.py
+++ b/creator.py
@@ -198,8 +198,8 @@ class Airfoil(Coordinates):
x_chord.extend(i for i in range(x_chord_25_percent, self.chord + 1))
# Reversed list for our lower airfoil coordinate densification
x_chord_rev = [i for i in range(self.chord, x_chord_25_percent, -1)]
- ext = [i / 10 for i in range(x_chord_25_percent * 10, -1, -1)]
- x_chord_rev.extend(ext)
+ extend = [i / 10 for i in range(x_chord_25_percent * 10, -1, -1)]
+ x_chord_rev.extend(extend)
# Generate our airfoil geometry from previous sub-functions.
for x in x_chord:
Copyright 2019--2024 Marius PETER