diff options
author | Marius Peter <blendoit@gmail.com> | 2019-06-23 02:17:21 -0700 |
---|---|---|
committer | Marius Peter <blendoit@gmail.com> | 2019-06-23 02:17:21 -0700 |
commit | 7a7c4840386adc45ed84985784d57fe3fc345c07 (patch) | |
tree | 8c89fd0f539293aa64d1af93ed6cac6c2a4db87a /creator.py | |
parent | 3074c4c8cbeac6a6e5a4d7fa4a8afe34ec39911d (diff) |
bugfix
Diffstat (limited to 'creator.py')
-rw-r--r-- | creator.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |