We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 620f95b commit d9cf8d9Copy full SHA for d9cf8d9
src/fwd.hpp
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright 2014-2017, Nicolas Mansard and Justin Carpentier, LAAS-CNRS
+ * Copyright 2014-2018, Nicolas Mansard and Justin Carpentier, LAAS-CNRS
3
*
4
* This file is part of eigenpy.
5
* eigenpy is free software: you can redistribute it and/or
@@ -20,8 +20,17 @@
20
#include <boost/python.hpp>
21
#include <Eigen/Core>
22
23
+#include <numpy/numpyconfig.h>
24
#ifdef NPY_1_8_API_VERSION
25
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
26
#endif
27
28
+#include <numpy/noprefix.h>
29
+
30
+#ifdef NPY_ALIGNED
31
+#define EIGENPY_DEFAULT_ALIGNMENT_VALUE Eigen::Aligned16
32
+#else
33
+#define EIGENPY_DEFAULT_ALIGNMENT_VALUE Eigen::Unaligned
34
+#endif
35
36
#endif // ifndef __eigenpy_fwd_hpp__
0 commit comments