lucene-dev mailing list archives

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


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:
>             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:
For additional commands, e-mail:

View raw message