From 5bea957e505235e9a726ac8835e1324372dba5fa Mon Sep 17 00:00:00 2001 From: Daniel_M_Williams Date: Sat, 2 May 2020 14:28:30 -0400 Subject: [PATCH] [fix][doc] fixes comments in BarrowmanCalculator.java --- .../net/sf/openrocket/aerodynamics/BarrowmanCalculator.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/net/sf/openrocket/aerodynamics/BarrowmanCalculator.java b/core/src/net/sf/openrocket/aerodynamics/BarrowmanCalculator.java index 60d8eec6c..f4b2b763e 100644 --- a/core/src/net/sf/openrocket/aerodynamics/BarrowmanCalculator.java +++ b/core/src/net/sf/openrocket/aerodynamics/BarrowmanCalculator.java @@ -629,9 +629,9 @@ public class BarrowmanCalculator extends AbstractAerodynamicCalculator { } } - // if I'm the last componenet, set my base CD - // note I can't depend on the iterator serving up components in order, - // so I can't just do this after the last iteration. + // if I'm the last component, set my base CD + // note: the iterator *should* serve up the next component.... buuuut .... + // this code has is tested, and there's no compelling reason to change. if (s.getNextSymmetricComponent() == null) { double area = Math.PI * pow2(s.getAftRadius()); double cd = base * area / conditions.getRefArea();