lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsmiley <...@git.apache.org>
Subject [GitHub] lucene-solr pull request #288: LUCENE-8086
Date Tue, 12 Dec 2017 14:09:41 GMT
Github user dsmiley commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/288#discussion_r155938328
  
    --- Diff: lucene/spatial-extras/src/java/org/apache/lucene/spatial/spatial4j/Geo3dShapeFactory.java
---
    @@ -150,10 +176,21 @@ public Rectangle rect(double minX, double maxX, double minY, double
maxY) {
     
       @Override
       public Circle circle(double x, double y, double distance) {
    -    GeoCircle circle = GeoCircleFactory.makeGeoCircle(planetModel,
    -        y * DistanceUtils.DEGREES_TO_RADIANS,
    -        x * DistanceUtils.DEGREES_TO_RADIANS,
    -        distance * DistanceUtils.DEGREES_TO_RADIANS);
    +    GeoCircle circle;
    +    if (planetModel.ab == planetModel.c) {
    --- End diff --
    
    @DaddyWri comments?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message