Merge pull request #690 from teyrana/hotfix

[fix] removes excess debugging lines from PR #676
This commit is contained in:
Daniel Williams 2020-07-04 12:31:24 -04:00 committed by GitHub
commit 673a246b8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -554,20 +554,16 @@ public class ComponentAnalysisDialog extends JDialog implements StateChangeListe
forces = aeroData.get(comp);
if (forces == null) {
// DEBUG / trace level
System.err.println("Could not find aeroData entry for component: " + comp.getName());
row.cpx = 0.0;
row.cna = 0.0;
continue;
}
// System.err.println(String.format(" .CP = %s", forces.getCP()));
if (forces.getCP() != null) {
row.cpx = forces.getCP().x;
row.cna = forces.getCNa();
}
// System.err.println(String.format(" .CD = %s", forces.getCD()));
if (!Double.isNaN(forces.getCD())) {
dragData.add(forces);
}