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:
Thomas Neidhart 2012-07-22 15:29:11 +00:00
parent 072851608e
commit 9e9d237ad3
1 changed files with 1 additions and 1 deletions

View File

@ -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);