diff --git a/gtsam/base/cholesky.cpp b/gtsam/base/cholesky.cpp index 8a02907c9..e941082ae 100644 --- a/gtsam/base/cholesky.cpp +++ b/gtsam/base/cholesky.cpp @@ -168,6 +168,8 @@ bool choleskyPartial(Matrix& ABC, size_t nFrontal) { int exp1; (void)frexp(ABC(0,0), &exp1); ok = (exp1 > -underconstrainedExponentDifference); + } else { + ok = true; } } else { ok = false;