Skip to content

Commit 27c131c

Browse files
Smirneiluwatar
authored andcommitted
iluwatar#1001 fix intermittent test failure (iluwatar#1008)
1 parent c438ec0 commit 27c131c

File tree

1 file changed

+5
-5
lines changed
  • spatial-partition/src/main/java/com/iluwatar/spatialpartition

1 file changed

+5
-5
lines changed

spatial-partition/src/main/java/com/iluwatar/spatialpartition/Rect.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@
2828
*/
2929

3030
public class Rect {
31-
int x;
32-
int y;
33-
int width;
34-
int height;
31+
double x;
32+
double y;
33+
double width;
34+
double height;
3535

3636
//(x,y) - centre of rectangle
3737

38-
Rect(int x, int y, int width, int height) {
38+
Rect(double x, double y, double width, double height) {
3939
this.x = x;
4040
this.y = y;
4141
this.width = width;

0 commit comments

Comments
 (0)