Skip to content

Commit

Permalink
avoid bug in airfoil interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrbortolotti committed Apr 27, 2022
1 parent 6b9761e commit 89254f8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions wisdem/rotorse/precomp.py
Original file line number Diff line number Diff line change
Expand Up @@ -822,9 +822,7 @@ def initWithTEtoTEdata(cls, x, y):
y = np.array(y)

# separate into 2 halves
for i in range(len(x)):
if x[i + 1] >= x[i]:
break
i = np.argmin(x)

xu = x[i::-1]
yu = y[i::-1]
Expand Down

0 comments on commit 89254f8

Please sign in to comment.