[ 
https://issues.apache.org/jira/browse/LUCENE-7185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235192#comment-15235192
 ] 

ASF subversion and git services commented on LUCENE-7185:
---------------------------------------------------------

Commit b21218e79f2b431b3311a0a07dfbcdb7ae48f1ab in lucene-solr's branch 
refs/heads/branch_6x from [~rcmuir]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b21218e ]

LUCENE-7185: fix random number generation used for spatial tests.

Note that GeoPoint tests are still on the old RNG as we haven't get made them 
happy.


> fix random number generation used for spatial tests
> ---------------------------------------------------
>
>                 Key: LUCENE-7185
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7185
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-7185.patch, LUCENE-7185_sorting.patch
>
>
> The current method is not very good for testing. 
> * It will only rarely or never return edge cases like -180/180/-90/90
> * It will only rarely return 0
> * There are many possible doubles within the ranges (-180..180/-90..90) it 
> will never return



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to