From: kruland2607 Date: Tue, 24 Apr 2012 19:47:33 +0000 (+0000) Subject: Removed fixme and settled on .001 for epsilon. X-Git-Tag: upstream/12.09^2~328 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=e1f8accc91254bf0e6e675dd85aea3688c4f6fd4;p=debian%2Fopenrocket Removed fixme and settled on .001 for epsilon. git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@601 180e2498-e6e9-4542-8430-84ac67f01cd8 --- diff --git a/core/src/net/sf/openrocket/gui/dialogs/preset/ComponentPresetRowFilter.java b/core/src/net/sf/openrocket/gui/dialogs/preset/ComponentPresetRowFilter.java index 328221b4..2b1f6a78 100644 --- a/core/src/net/sf/openrocket/gui/dialogs/preset/ComponentPresetRowFilter.java +++ b/core/src/net/sf/openrocket/gui/dialogs/preset/ComponentPresetRowFilter.java @@ -9,8 +9,9 @@ public class ComponentPresetRowFilter extends RowFilter { private final double value; private final int column; - // FIXME - what should epsilon be? - private final double epsilon = .0001; + // I chose epsilon to be 0.001 units. Since this is mostly used with lengths, it represents + // 1 mm. + private final double epsilon = .001; ComponentPresetRowFilter( double value, int column ) { this.value = value;