Skip to content

Commit f872b12

Browse files
authored
Update comment regarding computing of the minimum positive eigenvalue of the GEP
1 parent 91b10d4 commit f872b12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/matrix_operations/EigenvaluesProblems.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class EigenvaluesProblems<NT, Eigen::Matrix<NT,Eigen::Dynamic,Eigen::Dynamic>, E
167167
Spectra::DenseSymMatProd<NT> op(B);
168168
Spectra::DenseCholesky<NT> Bop(-A);
169169

170-
// Construct generalized eigen solver object, requesting the largest three generalized eigenvalues
170+
// Construct generalized eigen solver object, computing the minimum positive eigenvalue by computing the largest eigenvalue of the inverse Generalized Eigenvalue Problem
171171
// An empirical value of ncv that gives a better performance
172172
// TODO: tune this implementation by tuning the parameters like ncv
173173
int ncv = std::min(std::max(10, matrixDim/20), matrixDim);

0 commit comments

Comments
 (0)