checkpoint
[anneal.git] / src / edu / berkeley / qfat / geom / Matrix.java
index 1c52d00..dbe4076 100644 (file)
@@ -256,7 +256,7 @@ public class Matrix {
             near(p,z.p);
     }
     private static final float EPSILON = 0.001f;
-    private static boolean near(float a, float b) { return a==b; }
+    private static boolean near(float a, float b) { return Math.abs(a-b)<EPSILON; }
 
     public int hashCode() {
         return