optimization updates
[debian/openrocket] / src / net / sf / openrocket / simulation / AbstractSimulationStepper.java
index 7b33ae04874937e02d3ac70757b66f3c837a31b4..e39d6e6a77a4eec4b1d5c2e553e082e0e0778fe5 100644 (file)
@@ -208,7 +208,7 @@ public abstract class AbstractSimulationStepper implements SimulationStepper {
         */
        protected void checkNaN(Coordinate c) {
                if (c.isNaN()) {
-                       throw new BugException("Simulation resulted in not-a-number (NaN) value, please report a bug.");
+                       throw new BugException("Simulation resulted in not-a-number (NaN) value, please report a bug, c=" + c);
                }
        }
        
@@ -221,7 +221,7 @@ public abstract class AbstractSimulationStepper implements SimulationStepper {
         */
        protected void checkNaN(Quaternion q) {
                if (q.isNaN()) {
-                       throw new BugException("Simulation resulted in not-a-number (NaN) value, please report a bug.");
+                       throw new BugException("Simulation resulted in not-a-number (NaN) value, please report a bug, q=" + q);
                }
        }
 }