Skip to content

Commit

Permalink
I fixed a bug introduced by the last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
camUrban committed Dec 5, 2024
1 parent 140b684 commit 4a67fa8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion pterasoftware/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"""

import logging
from audioop import cross

import numpy as np
from numba import njit
Expand Down
3 changes: 3 additions & 0 deletions pterasoftware/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,9 @@ def __init__(
# Calculate the number of panels on this wing.
self.num_panels = self.num_spanwise_panels * self.num_chordwise_panels

for wing_cross_section in self.wing_cross_sections:
wing_cross_section.wing_unit_chordwise_vector = self.unit_chordwise_vector

# Initialize the panels attribute. Then mesh the wing, which will populate
# this attribute.
self.panels = None
Expand Down

0 comments on commit 4a67fa8

Please sign in to comment.