Checkstyle: unnecessary parentheses
This commit is contained in:
parent
e49cabff8b
commit
3620d60718
|
@ -625,7 +625,7 @@ public class CMAESOptimizer
|
|||
oldFac += 1 - ccov1Sep - ccovmuSep;
|
||||
diagC = diagC.scalarMultiply(oldFac) // regard old matrix
|
||||
.add(square(pc).scalarMultiply(ccov1Sep)) // plus rank one update
|
||||
.add((times(diagC, square(bestArz).multiply(weights))) // plus rank mu update
|
||||
.add(times(diagC, square(bestArz).multiply(weights)) // plus rank mu update
|
||||
.scalarMultiply(ccovmuSep));
|
||||
diagD = sqrt(diagC); // replaces eig(C)
|
||||
if (diagonalOnly > 1 &&
|
||||
|
|
|
@ -52,6 +52,8 @@
|
|||
<suppress checks="UnnecessaryParentheses" files=".*[/\\]MultiDirectionalTransform\.java$" lines="94" />
|
||||
<suppress checks="UnnecessaryParentheses" files=".*[/\\]NelderMeadTransform\.java$" lines="109" />
|
||||
<suppress checks="UnnecessaryParentheses" files=".*[/\\]BaseMultiStartMultivariateOptimizer\.java$" lines="190" />
|
||||
<suppress checks="UnnecessaryParentheses" files=".*[/\\]EventState\.java$" lines="258,297,299" />
|
||||
<suppress checks="UnnecessaryParentheses" files=".*[/\\]FieldEventState\.java$" lines="220,241,243" />
|
||||
|
||||
<!-- Be more lenient on tests. -->
|
||||
<suppress checks="Javadoc" files=".*[/\\]test[/\\].*" />
|
||||
|
|
Loading…
Reference in New Issue