From a2085150559c6a8ca669e2f877f15bb0e2dc7e50 Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Fri, 4 Feb 2011 02:38:35 +0000 Subject: [PATCH] Made zero thresholds in Cholesky smaller to fix failing unit test --- gtsam/base/cholesky.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/base/cholesky.cpp b/gtsam/base/cholesky.cpp index d5b69a25f..9585d024b 100644 --- a/gtsam/base/cholesky.cpp +++ b/gtsam/base/cholesky.cpp @@ -33,8 +33,8 @@ using namespace std; namespace gtsam { static const double negativePivotThreshold = -1e-1; - static const double zeroPivotThreshold = 1e-3; - static const double underconstrainedPrior = 0.001; + static const double zeroPivotThreshold = 1e-6; + static const double underconstrainedPrior = 1e-5; /* ************************************************************************* */ void cholesky_inplace(MatrixColMajor& I) {