aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-06-16 23:55:08 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-06-16 23:55:08 +0200
commitdb160f2e0b23753c12f4905ca70c9914f537c67a (patch)
treea0005e2ebed31420ee375b1e3d5c09761e4441d8
parent74006a9fe917584974f29295f40e81b2c64fc6f4 (diff)
warn users other variants are not implemented yet... (will do it very soon)
-rw-r--r--Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h4
1 files changed, 4 insertions, 0 deletions
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