Skip to content

Commit 2eab8e5

Browse files
jcarpentnmansard
authored andcommitted
Modify include sequence in order to prevent compilations error
1 parent 68bf0fd commit 2eab8e5

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

src/angle-axis.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@
1717
#ifndef __eigenpy_angle_axis_hpp__
1818
#define __eigenpy_angle_axis_hpp__
1919

20+
#include <boost/python.hpp>
2021
#include <Eigen/Core>
2122
#include <Eigen/Geometry>
22-
#include <boost/python.hpp>
23+
2324
#include "eigenpy/eigenpy.hpp"
2425

2526
namespace eigenpy

src/details.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#ifndef __eigenpy_details_hpp__
1818
#define __eigenpy_details_hpp__
1919

20-
#include <Eigen/Core>
2120
#include <boost/python.hpp>
21+
#include <Eigen/Core>
2222

2323
#pragma GCC diagnostic error "-pedantic" // Alas only work for g++ 4.8
2424
#include <numpy/arrayobject.h>

src/exception.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
* with eigenpy. If not, see <http://www.gnu.org/licenses/>.
1515
*/
1616

17+
#include <boost/python.hpp>
1718
#include <exception>
1819
#include <string>
19-
#include <boost/python.hpp>
2020

2121
#ifndef __eigenpy_Exception_hpp__
2222
#define __eigenpy_Exception_hpp__

src/fwd.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#ifndef __eigenpy_fwd_hpp__
1818
#define __eigenpy_fwd_hpp__
1919

20-
#include <Eigen/Core>
2120
#include <boost/python.hpp>
21+
#include <Eigen/Core>
2222

2323
namespace eigenpy
2424
{

src/map.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* with eigenpy. If not, see <http://www.gnu.org/licenses/>.
1515
*/
1616

17-
#include <Eigen/Core>
1817
#include <boost/python.hpp>
18+
#include <Eigen/Core>
1919
#include <numpy/arrayobject.h>
2020
#include <eigenpy/exception.hpp>
2121

0 commit comments

Comments
 (0)