From 46859474cb39bdcfcfae7f7d58ceb5b23f29ca79 Mon Sep 17 00:00:00 2001 From: Chris Beall Date: Sat, 3 May 2014 12:55:51 -0400 Subject: [PATCH] Fix warning --- gtsam/base/Matrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/base/Matrix.cpp b/gtsam/base/Matrix.cpp index 92c9a525e..d9ab7d71c 100644 --- a/gtsam/base/Matrix.cpp +++ b/gtsam/base/Matrix.cpp @@ -695,7 +695,7 @@ Matrix expm(const Matrix& A, size_t K) { /* ************************************************************************* */ Matrix Cayley(const Matrix& A) { - int n = A.cols(); + size_t n = A.cols(); assert(A.rows() == n); // original