Skip to content

Commit

Permalink
Fix missing self. to call self.get_coefs()
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoiz authored Mar 25, 2021
1 parent 4bc688b commit 7a8fc7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sharpy/aero/utils/airfoilpolars.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def get_cdcm_from_cl(self, cl):
cm = 0.
else:
if cl == 0.:
cl_new, cd, cm = get_coefs(self.aoa_cl0_deg)
cl_new, cd, cm = self.get_coefs(self.aoa_cl0_deg)
elif cl > 0.:
dist = np.abs(self.table[:,0] - self.aoa_cl0_deg)
min_dist = np.min(dist)
Expand Down

0 comments on commit 7a8fc7d

Please sign in to comment.