projects
/
anneal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
checkpoint
[anneal.git]
/
src
/
edu
/
berkeley
/
qfat
/
geom
/
Matrix.java
diff --git
a/src/edu/berkeley/qfat/geom/Matrix.java
b/src/edu/berkeley/qfat/geom/Matrix.java
index
1c52d00
..
dbe4076
100644
(file)
--- a/
src/edu/berkeley/qfat/geom/Matrix.java
+++ b/
src/edu/berkeley/qfat/geom/Matrix.java
@@
-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