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

Mark Miller commented on LUCENE-1895:
-------------------------------------

I put this up not knowing really anything about the specific use case(s) of the 
Point2D class - I have never used Spatial - so close if it makes sense to do so.

My generic worry is that you can come to the *same* double value in two 
different ways, but == will not find them to be equal.

> Point2D defines equals by comparing double types with ==
> --------------------------------------------------------
>
>                 Key: LUCENE-1895
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1895
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/spatial
>            Reporter: Mark Miller
>            Assignee: Chris Male
>            Priority: Trivial
>
> Ideally, this should allow for a margin of error right?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to