Avoid a false positive findbugs warning.

Findbugs is confused by constant 1.570796251296997 which is a
intentionally slightly offset from PI/2 as per Cody Waite arguments
reduction.
This commit is contained in:
Luc Maisonobe 2015-11-03 10:45:35 +01:00
parent 93f8d0e237
commit 3f68627209
1 changed files with 8 additions and 0 deletions

View File

@ -142,6 +142,14 @@
<Bug pattern="CNT_ROUGH_CONSTANT_VALUE" />
</Match>
<!-- Spurious: Findbugs confused by constant 1.570796251296997 which is a
intentionally slightly offset from PI/2 as per Cody Waite arguments reduction -->
<Match>
<Class name="org.apache.commons.math4.util.FastMath$CodyWaite" />
<Method name="&lt;init>" params="double" returns="void" />
<Bug pattern="CNT_ROUGH_CONSTANT_VALUE" />
</Match>
<!-- the following expositions of internal representation are intentional and documented -->
<Match>
<Class name="org.apache.commons.math4.stat.regression.RegressionResults"/>