Removed fixme and settled on .001 for epsilon.
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Tue, 24 Apr 2012 19:47:33 +0000 (19:47 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Tue, 24 Apr 2012 19:47:33 +0000 (19:47 +0000)
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@601 180e2498-e6e9-4542-8430-84ac67f01cd8

core/src/net/sf/openrocket/gui/dialogs/preset/ComponentPresetRowFilter.java

index 328221b4e476741dc4ff2e123a1e7cb24dd5f4cf..2b1f6a7829e6d4b293b76c5f39b36d4d90030a9c 100644 (file)
@@ -9,8 +9,9 @@ public class ComponentPresetRowFilter extends RowFilter<TableModel, Object> {
        
        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;