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:
parent
2741a781e9
commit
90f6eba156
|
@ -25,6 +25,14 @@
|
||||||
|
|
||||||
<!-- the following equality tests are part of the reference algorithms -->
|
<!-- the following equality tests are part of the reference algorithms -->
|
||||||
<!-- which already know about limited precision of the double numbers -->
|
<!-- 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>
|
<Match>
|
||||||
<Class name="org.apache.commons.math.optimization.univariate.BrentOptimizer" />
|
<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" />
|
<Method name="localMin" params="org.apache.commons.math.analysis.UnivariateRealFunction,org.apache.commons.math.optimization.GoalType,double,double,double,double" returns="double" />
|
||||||
|
|
Loading…
Reference in New Issue