From e1f8accc91254bf0e6e675dd85aea3688c4f6fd4 Mon Sep 17 00:00:00 2001 From: kruland2607 Date: Tue, 24 Apr 2012 19:47:33 +0000 Subject: [PATCH] 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 --- .../gui/dialogs/preset/ComponentPresetRowFilter.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.47.2