fixed findbugs false positive

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@830772 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2009-10-28 21:54:13 +00:00
parent 2741a781e9
commit 90f6eba156
1 changed files with 8 additions and 0 deletions

View File

@ -25,6 +25,14 @@
<!-- the following equality tests are part of the reference algorithms -->
<!-- which already know about limited precision of the double numbers -->
<Match>
<Class name="org.apache.commons.math.distribution.SaddlePointExpansion" />
<Or>
<Method name="getDeviancePart" params="double,double" returns="double" />
<Method name="getStirlingError" params="double" returns="double" />
</Or>
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
</Match>
<Match>
<Class name="org.apache.commons.math.optimization.univariate.BrentOptimizer" />
<Method name="localMin" params="org.apache.commons.math.analysis.UnivariateRealFunction,org.apache.commons.math.optimization.GoalType,double,double,double,double" returns="double" />