From 071956d379058c851c04a1c58cb063bd2073557d Mon Sep 17 00:00:00 2001
From: Rainer Kuemmerle <kuemmerl@informatik.uni-freiburg.de>
Date: Tue, 1 Oct 2013 10:28:45 +0200
Subject: [PATCH] fixed warnings

---
 src/gpc/gpc.cpp | 2 +-
 src/icp/icp.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gpc/gpc.cpp b/src/gpc/gpc.cpp
index 2f84b98..9d19c70 100644
--- a/src/gpc/gpc.cpp
+++ b/src/gpc/gpc.cpp
@@ -25,7 +25,7 @@ using namespace std;
 //New version: have static Eigen variables and use pointers to these for compatibility
 #define TAGME(name, tag) name##tag
 #define M(matrix, rows, col) static Eigen::MatrixXd TAGME(matrix,_mem)(rows, col); static gsl_matrix* matrix=&TAGME(matrix,_mem);
-#define MF(matrix)
+#define MF(matrix) (void)(matrix)
 
 
 int gpc_solve(int K, const std::vector<gpc_corr>& c,
diff --git a/src/icp/icp.cpp b/src/icp/icp.cpp
index 4d5f987..a305cee 100644
--- a/src/icp/icp.cpp
+++ b/src/icp/icp.cpp
@@ -160,8 +160,8 @@ void sm_icp(struct sm_params*params, struct sm_result*res) {
 				//egsl_print_spectrum("cov0_x", cov0_x);
 		
 				val fim = ld_fisher0(laser_ref);
-				val ifim = inv(fim);
 				egsl_print("fim", fim);
+				//val ifim = inv(fim);
 				//egsl_print_spectrum("ifim", ifim);
 			}
 		}
-- 
GitLab