*/
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);
}
}
*/
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);
}
}
}