From 7a7c4840386adc45ed84985784d57fe3fc345c07 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sun, 23 Jun 2019 02:17:21 -0700 Subject: bugfix --- creator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'creator.py') 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: -- cgit v1.2.3