diff --git a/jpx/src/test/java/io/jenetics/jpx/WayPointTest.java b/jpx/src/test/java/io/jenetics/jpx/WayPointTest.java index 6d6b6a58..4d067df6 100644 --- a/jpx/src/test/java/io/jenetics/jpx/WayPointTest.java +++ b/jpx/src/test/java/io/jenetics/jpx/WayPointTest.java @@ -93,9 +93,9 @@ public static WayPoint nextWayPoint(final Random random) { } private static double nextDouble(final RandomGenerator random) { - //final int scale = 10_000; - //return random.nextInt(scale)/(double)scale; - return random.nextDouble(); + final int scale = 1_000_000; + return random.nextInt(scale)/(double)scale; + //return random.nextDouble(); } public static List nextWayPoints(final Random random) {