summaryrefslogtreecommitdiffstats
path: root/src/javax/vecmath/Tuple2d.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/javax/vecmath/Tuple2d.java')
-rw-r--r--src/javax/vecmath/Tuple2d.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/javax/vecmath/Tuple2d.java b/src/javax/vecmath/Tuple2d.java
index 21f7da7..a60ff49 100644
--- a/src/javax/vecmath/Tuple2d.java
+++ b/src/javax/vecmath/Tuple2d.java
@@ -276,8 +276,8 @@ public abstract class Tuple2d implements java.io.Serializable, Cloneable {
*/
public int hashCode() {
long bits = 1L;
- bits = 31L * bits + Double.doubleToLongBits(x);
- bits = 31L * bits + Double.doubleToLongBits(y);
+ bits = 31L * bits + VecMathUtil.doubleToLongBits(x);
+ bits = 31L * bits + VecMathUtil.doubleToLongBits(y);
return (int) (bits ^ (bits >> 32));
}