summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index f816c4b..8eb652c 100644
--- a/main.py
+++ b/main.py
@@ -59,7 +59,7 @@ def main():
"""
# Create coordinate system specific to our airfoil dimensions.
# TODO: imperial + metric unit setting
- creator.Coordinates(CHORD_LENGTH, SEMI_SPAN)
+ creator.Coordinates.from_chord(CHORD_LENGTH, SEMI_SPAN)
# Interate through all wings in population, creating and evaluating them.
for _ in range(1, POP_SIZE + 1):
Copyright 2019--2024 Marius PETER