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

Michael McCandless commented on LUCENE-7312:
--------------------------------------------

The test just encodes and then decodes and checks that the decoded version 
indeed rounded down, yet for this particular value, for some reason, the {{Y}} 
dimension failed to round down:

{noformat}
   [junit4]   1> iter=2881 i=243 lat=-61.000000000001734 lon=-139.2156822602591
   [junit4]   1>   point=[lat=-1.0646508437165714, 
lon=-2.4297720258517823([X=-0.36655223771437473, Y=-0.31622436580292346, 
Z=-0.8733499201429061])]
   [junit4]   1>   pointEnc=[X=-0.3665522380425261, Y=-0.3162243658029234, 
Z=-0.8733499202383181]
{noformat}

> Geo3dPoint test failure
> -----------------------
>
>                 Key: LUCENE-7312
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7312
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial3d
>    Affects Versions: master (7.0)
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>
> Here's the failure:
> {code}
> ant test  -Dtestcase=TestGeo3DPoint -Dtests.method=testEncodeDecodeRoundsDown 
> -Dtests.seed=7046405B94C1716E -Dtests.multiplier=3 -Dtests.slow=true 
> -Dtests.locale=da-DK -Dtests.timezone=America/Detroit -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to