diff --git a/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h b/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h index 66d32dee6..f5a8ffc31 100644 --- a/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +++ b/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h @@ -188,6 +188,10 @@ compute(const MatrixType& matA, const MatrixType& matB, int options) && ((options&GenEigMask)==Ax_lBx || (options&GenEigMask)==ABx_lx || (options&GenEigMask)==BAx_lx) && "invalid option parameter"); + ei_assert((options&GenEigMask)==Ax_lBx && "other variants are not implemented yet, sorry."); + + // TODO implements other variants !! + bool computeEigVecs = (options&EigVecMask)==ComputeEigenvectors; // Compute the cholesky decomposition of matB = L L' = U'U