[
https://issues.apache.org/jira/browse/LUCENE-8208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400612#comment-16400612
]
Ignacio Vera commented on LUCENE-8208:
--------------------------------------
Attached a patch with a simple test.
> Vector.isNumericallyIdentical() can produce unexpected results
> --------------------------------------------------------------
>
> Key: LUCENE-8208
> URL: https://issues.apache.org/jira/browse/LUCENE-8208
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/spatial3d
> Reporter: Ignacio Vera
> Priority: Major
> Attachments: LUCENE-8208.patch
>
>
> The method {{Vector.isNumericallyIdentical()}} seems to produce wrong results
> in some cases. For example it considers that vectors (1,0,0) and (-1,0,0) are
> numerically identical whichI is probably wrong.
> This behavior might produce unexpected behaviors down the line.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]