Skip to content

Commit

Permalink
add appropriate guards for metis
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Aug 26, 2021
1 parent d83e9d0 commit 4e295b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gtsam/inference/Ordering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@
#include <gtsam/3rdparty/CCOLAMD/Include/ccolamd.h>

#ifdef GTSAM_SUPPORT_NESTED_DISSECTION
#ifdef GTSAM_USE_SYSTEM_METIS
#include <metis.h>
#else
#include <gtsam/3rdparty/metis/include/metis.h>
#endif
#endif

using namespace std;

Expand Down

0 comments on commit 4e295b9

Please sign in to comment.