Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Commit

Permalink
Bugfix in wing line
Browse files Browse the repository at this point in the history
  • Loading branch information
acrovato committed Apr 5, 2019
1 parent 986d66c commit 0387f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wing.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def writeLines(self, fname):
file.write('// -- Airfoil {0:d}\n'.format(i))
for j in range(0, self.linaN[i].shape[0]-1):
file.write('Spline({0:d}) = {{'.format(self.linaN[i][j]))
for k in range(self.sptsNg[i][j], self.sptsNg[i][j+1]-1):
for k in range(self.sptsNg[i][j], self.sptsNg[i][j+1]):
file.write('{0:d}, '.format(k))
file.write('{0:d}'.format(self.sptsNg[i][j+1]))
file.write('};\n')
Expand Down

0 comments on commit 0387f90

Please sign in to comment.