From d48bf56ff8c5f198bf61064a92665f274eb54d3c Mon Sep 17 00:00:00 2001 From: darshan-17 Date: Wed, 16 Apr 2025 20:59:19 -0700 Subject: [PATCH] Removed older linux dependencies, updated cmake version requirement in METIS CMakeLists.txt & removed variables that were not used --- examples/ABC_EQF.cpp | 2 +- examples/ABC_EQF.h | 1 - gtsam/3rdparty/metis/CMakeLists.txt | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/ABC_EQF.cpp b/examples/ABC_EQF.cpp index 8209e7b29..5bc777458 100644 --- a/examples/ABC_EQF.cpp +++ b/examples/ABC_EQF.cpp @@ -502,7 +502,7 @@ Matrix stateActionDiff(const State& xi) { * Uses SelfAdjointSolver, completeOrthoganalDecomposition().pseudoInverse() */ EqF::EqF(const Matrix& Sigma, int n, int m) - : __dof(6 + 3 * n), __n_cal(n), __n_sensor(m), __X_hat(G::identity(n)), + : __dof(6 + 3 * n), __n_cal(n), __X_hat(G::identity(n)), __Sigma(Sigma), __xi_0(State::identity(n)) { if (Sigma.rows() != __dof || Sigma.cols() != __dof) { diff --git a/examples/ABC_EQF.h b/examples/ABC_EQF.h index 6d381b1ee..6f069020c 100644 --- a/examples/ABC_EQF.h +++ b/examples/ABC_EQF.h @@ -312,7 +312,6 @@ class EqF { private: int __dof; // Degrees of freedom int __n_cal; // Number of calibration states - int __n_sensor; // Number of sensors G __X_hat; // Filter state Matrix __Sigma; // Error covariance State __xi_0; // Origin state diff --git a/gtsam/3rdparty/metis/CMakeLists.txt b/gtsam/3rdparty/metis/CMakeLists.txt index f8da7ce6f..5f9f7ce23 100644 --- a/gtsam/3rdparty/metis/CMakeLists.txt +++ b/gtsam/3rdparty/metis/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.5...3.22) project(METIS) # Add flags for currect directory and below