Skip to content
Snippets Groups Projects
Commit f3a6d2de authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Include python prior to everything else

parent b770ef56
No related branches found
No related tags found
No related merge requests found
#include <Python.h>
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif #endif
#ifndef HAVE_PYTHON
#error Python is required
#endif
#ifdef HAVE_IPOPT #ifdef HAVE_IPOPT
#undef HAVE_IPOPT #undef HAVE_IPOPT
#endif #endif
...@@ -14,10 +20,6 @@ ...@@ -14,10 +20,6 @@
#error DIM unset #error DIM unset
#endif #endif
#ifndef HAVE_PYTHON
#error Python is required
#endif
#if !HAVE_ALUGRID #if !HAVE_ALUGRID
#error ALUGRID is required #error ALUGRID is required
#endif #endif
...@@ -28,8 +30,6 @@ ...@@ -28,8 +30,6 @@
#include <boost/format.hpp> #include <boost/format.hpp>
#include <Python.h>
#include <dune/common/bitsetvector.hh> #include <dune/common/bitsetvector.hh>
#include <dune/common/exceptions.hh> #include <dune/common/exceptions.hh>
#include <dune/common/fmatrix.hh> #include <dune/common/fmatrix.hh>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment