From 9d8c2088d2f4223496d4dd7dd3ebc5c9d5c84b1a Mon Sep 17 00:00:00 2001 From: Stephen Williams Date: Thu, 17 Nov 2011 21:07:08 +0000 Subject: [PATCH] Fixed error in NegativeMatrixException print statement --- gtsam/base/cholesky.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/base/cholesky.h b/gtsam/base/cholesky.h index 155b36418..0c4689113 100644 --- a/gtsam/base/cholesky.h +++ b/gtsam/base/cholesky.h @@ -33,7 +33,7 @@ struct NegativeMatrixException : public std::exception { Matrix A; ///< The original matrix attempted to factor Matrix U; ///< The produced upper-triangular factor Matrix D; ///< The produced diagonal factor - Detail(const Matrix& _A, const Matrix& _U, const Matrix& _D) /**< Detail constructor */ : A(_A), U(_A), D(_D) {} + Detail(const Matrix& _A, const Matrix& _U, const Matrix& _D) /**< Detail constructor */ : A(_A), U(_U), D(_D) {} void print(const std::string& str = "") const { std::cout << str << "\n"; gtsam::print(A, " A: ");