Use non-deprecated ctor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364328 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
072851608e
commit
9e9d237ad3
|
@ -768,7 +768,7 @@ public class CMAESOptimizer
|
|||
// to achieve O(N^2)
|
||||
C = triu(C, 0).add(triu(C, 1).transpose());
|
||||
// enforce symmetry to prevent complex numbers
|
||||
EigenDecomposition eig = new EigenDecomposition(C, 1.0);
|
||||
EigenDecomposition eig = new EigenDecomposition(C);
|
||||
B = eig.getV(); // eigen decomposition, B==normalized eigenvectors
|
||||
D = eig.getD();
|
||||
diagD = diag(D);
|
||||
|
|
Loading…
Reference in New Issue