[ https://issues.apache.org/jira/browse/LUCENE-1895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853408#action_12853408 ]
Chris Male commented on LUCENE-1895: ------------------------------------ As suggested, its best to use an epsilon when comparing doubles, much like junit. I will work on a patch. > 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