You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2015/05/27 11:46:38 UTC

svn commit: r1681943 - /lucene/dev/branches/LUCENE-6481/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.java

Author: mikemccand
Date: Wed May 27 09:46:38 2015
New Revision: 1681943

URL: http://svn.apache.org/r1681943
Log:
LUCENE-6481: woops

Modified:
    lucene/dev/branches/LUCENE-6481/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.java

Modified: lucene/dev/branches/LUCENE-6481/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/LUCENE-6481/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.java?rev=1681943&r1=1681942&r2=1681943&view=diff
==============================================================================
--- lucene/dev/branches/LUCENE-6481/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.java (original)
+++ lucene/dev/branches/LUCENE-6481/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.java Wed May 27 09:46:38 2015
@@ -400,7 +400,7 @@ public class TestGeoPointQuery extends L
 
   private static double randomLat() {
     if (smallBBox) {
-      return -90 + 2.0 * (random().nextDouble()-0.5);
+      return 2.0 * (random().nextDouble()-0.5);
     } else {
       return -90 + 180.0 * random().nextDouble();
     }
@@ -408,7 +408,7 @@ public class TestGeoPointQuery extends L
 
   private static double randomLon() {
     if (smallBBox) {
-      return -180 + 2.0 * (random().nextDouble()-0.5);
+      return 2.0 * (random().nextDouble()-0.5);
     } else {
       return -180 + 360.0 * random().nextDouble();
     }