From db160f2e0b23753c12f4905ca70c9914f537c67a Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 16 Jun 2010 23:55:08 +0200 Subject: [PATCH] warn users other variants are not implemented yet... (will do it very soon) --- Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h | 4 ++++ 1 file changed, 4 insertions(+) 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