lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7943) Plane.findArcDistancePoints() sometimes throws assertion failures even when plane explicitly normalized
Date Mon, 28 Aug 2017 16:36:03 GMT

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

ASF subversion and git services commented on LUCENE-7943:
---------------------------------------------------------

Commit 200beab09ee68903e8511b2329f2cd54cf4de00a in lucene-solr's branch refs/heads/master
from [~kwright@metacarta.com]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=200beab ]

LUCENE-7943: Disable an overly-aggressive assertion.


> Plane.findArcDistancePoints() sometimes throws assertion failures even when plane explicitly
normalized
> -------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-7943
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7943
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>
> The following assertion sometimes fails even when the plane has been explicitly normalized:
> {code}
>     assert Math.abs(x*x + y*y + z*z - 1.0) < MINIMUM_RESOLUTION_SQUARED : "Plane needs
to be normalized";
> {code}
> I can find nothing wrong with the assertion check, but the numerical accuracy is 1e-16,
which just isn't high enough to support MINIMUM_RESOLUTION_SQUARED accuracy (1e-24).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message