Skip to content

Commit 9b7398a

Browse files
author
phishman3579
committed
Fixed the KDTree 3-value constrctor to use all doubles
git-svn-id: https://java-algorithms-implementation.googlecode.com/svn/trunk@437 032fbc0f-8cab-eb90-e552-f08422b9a96a
1 parent 264f6db commit 9b7398a

File tree

1 file changed

+1
-1
lines changed
  • src/com/jwetherell/algorithms/data_structures

1 file changed

+1
-1
lines changed

src/com/jwetherell/algorithms/data_structures/KdTree.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ public XYZPoint(double x, double y) {
556556
this.z = 0;
557557
}
558558

559-
public XYZPoint(double x, int y, double z) {
559+
public XYZPoint(double x, double y, double z) {
560560
this.x = x;
561561
this.y = y;
562562
this.z = z;

0 commit comments

Comments
 (0)