From 5d3b0bf1c1407c8b3a56e4a70fb382080422ea17 Mon Sep 17 00:00:00 2001 From: acxz <17132214+acxz@users.noreply.github.com> Date: Mon, 21 Feb 2022 17:22:39 -0500 Subject: [PATCH] only metis.h is needed to include both system and local metis.h file metislib.h can be changed to <> due to cmake changes --- gtsam/inference/Ordering.cpp | 4 ---- gtsam_unstable/partition/FindSeparator-inl.h | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/gtsam/inference/Ordering.cpp b/gtsam/inference/Ordering.cpp index 440d2b828..2ac2c0dde 100644 --- a/gtsam/inference/Ordering.cpp +++ b/gtsam/inference/Ordering.cpp @@ -25,11 +25,7 @@ #include #ifdef GTSAM_SUPPORT_NESTED_DISSECTION -#ifdef GTSAM_USE_SYSTEM_METIS #include -#else -#include -#endif #endif using namespace std; diff --git a/gtsam_unstable/partition/FindSeparator-inl.h b/gtsam_unstable/partition/FindSeparator-inl.h index 2e48b0d45..5ec8813b9 100644 --- a/gtsam_unstable/partition/FindSeparator-inl.h +++ b/gtsam_unstable/partition/FindSeparator-inl.h @@ -24,7 +24,7 @@ extern "C" { #include -#include "metislib.h" +#include }