lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Male (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1895) Point2D defines equals by comparing double types with ==
Date Mon, 05 Apr 2010 15:29:27 GMT

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

Chris Male commented on LUCENE-1895:
------------------------------------

{quote}
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.
{quote}

How so?

> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message