Skip to content
Snippets Groups Projects
Verified Commit 8cad68a8 authored by Thomas Lambert's avatar Thomas Lambert :helicopter:
Browse files

fix(ElemPerf): getclcd bug (closes #10)

parent 3673efbb
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ function [cl, cd] = getclcd(self, aoaVect, reyVect, i)
for i = 1:length(Af)
idx = (iAf == i);
if idx ~= 0
if any(idx)
[cl(idx), cd(idx)] = Af(i).Polar.getcoeffs(aoaVect(idx), reyVect(idx));
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment