Changing include order so as to OpenMP flags (if used) are defined

before metis. This fixes a compilation error with testFindSeparator.cpp
release/4.3a0
Abhijit Kundu 2014-11-11 17:14:51 -05:00
parent 3dbc9929a4
commit 1c97d1270d
1 changed files with 3 additions and 1 deletions

View File

@ -17,12 +17,14 @@
#include <boost/shared_array.hpp> #include <boost/shared_array.hpp>
#include <boost/timer.hpp> #include <boost/timer.hpp>
#include "FindSeparator.h"
extern "C" { extern "C" {
#include <metis.h> #include <metis.h>
#include "metislib.h" #include "metislib.h"
} }
#include "FindSeparator.h"
namespace gtsam { namespace partition { namespace gtsam { namespace partition {