From 0d02182ae898477d68d284e84e0a03c23ce2eebc Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 18 Jul 2011 13:37:41 +0200 Subject: [PATCH] add an "InvalidInput" enum, used by the SuperLU interface --- Eigen/src/Core/util/Constants.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Eigen/src/Core/util/Constants.h b/Eigen/src/Core/util/Constants.h index de7809375..434024828 100644 --- a/Eigen/src/Core/util/Constants.h +++ b/Eigen/src/Core/util/Constants.h @@ -379,7 +379,10 @@ enum ComputationInfo { /** The provided data did not satisfy the prerequisites. */ NumericalIssue = 1, /** Iterative procedure did not converge. */ - NoConvergence = 2 + NoConvergence = 2, + /** The inputs are invalid, or the algorithm has been properly called. + * When assertions are enabled, such errors trigger an assert. */ + InvalidInput = 3 }; /** \ingroup enums