[fix] removes excess debugging lines from PR #676

This commit is contained in:
Daniel_M_Williams 2020-07-04 12:29:53 -04:00
parent 8c129dcc10
commit c0541386b6

View File

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