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:
parent
93f8d0e237
commit
3f68627209
|
@ -142,6 +142,14 @@
|
||||||
<Bug pattern="CNT_ROUGH_CONSTANT_VALUE" />
|
<Bug pattern="CNT_ROUGH_CONSTANT_VALUE" />
|
||||||
</Match>
|
</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="<init>" params="double" returns="void" />
|
||||||
|
<Bug pattern="CNT_ROUGH_CONSTANT_VALUE" />
|
||||||
|
</Match>
|
||||||
|
|
||||||
<!-- the following expositions of internal representation are intentional and documented -->
|
<!-- the following expositions of internal representation are intentional and documented -->
|
||||||
<Match>
|
<Match>
|
||||||
<Class name="org.apache.commons.math4.stat.regression.RegressionResults"/>
|
<Class name="org.apache.commons.math4.stat.regression.RegressionResults"/>
|
||||||
|
|
Loading…
Reference in New Issue