lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Garski (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENENET-318) TestDisjunctionMaxQuery.TestBooleanOptionalWithTiebreaker failure
Date Thu, 03 Dec 2009 00:41:20 GMT
TestDisjunctionMaxQuery.TestBooleanOptionalWithTiebreaker failure
-----------------------------------------------------------------

                 Key: LUCENENET-318
                 URL: https://issues.apache.org/jira/browse/LUCENENET-318
             Project: Lucene.Net
          Issue Type: Bug
            Reporter: Michael Garski
            Priority: Trivial


The failure is due to a floating point arithmetic difference.  Altering the value of the constant
SCORE_COMP_THRESH to only 7 significant digits (the accuracy of float in .NET) allows the
test to pass.

Interestingly, the test passes for me as-is when run in debugging mode.

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


Mime
View raw message