Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
eigenpy
Commits
e01cc8ff
Commit
e01cc8ff
authored
Apr 02, 2021
by
Guilhem Saurel
Browse files
define locally BOOST_BIND_GLOBAL_PLACEHOLDERS
ref.
https://github.com/stack-of-tasks/tsid/pull/129
parent
1fccd528
Changes
21
Hide whitespace changes
Inline
Side-by-side
include/eigenpy/computation-info.hpp
View file @
e01cc8ff
...
...
@@ -5,10 +5,7 @@
#ifndef __eigenpy_decompositions_computation_info_hpp__
#define __eigenpy_decompositions_computation_info_hpp__
#include
<Eigen/Core>
#include
<boost/python.hpp>
#include
"eigenpy/config.hpp"
#include
"eigenpy/fwd.hpp"
namespace
eigenpy
{
...
...
include/eigenpy/eigenpy.hpp
View file @
e01cc8ff
...
...
@@ -8,7 +8,6 @@
#include
"eigenpy/fwd.hpp"
#include
"eigenpy/deprecated.hpp"
#include
"eigenpy/config.hpp"
#include
"eigenpy/eigen-typedef.hpp"
#define ENABLE_SPECIFIC_MATRIX_TYPE(TYPE) \
...
...
include/eigenpy/exception.hpp
View file @
e01cc8ff
...
...
@@ -3,12 +3,13 @@
* Copyright 2018-2019, INRIA
*/
#include
<boost/python.hpp>
#ifndef __eigenpy_exception_hpp__
#define __eigenpy_exception_hpp__
#include
<exception>
#include
<string>
#ifndef __eigenpy_exception_hpp__
#define __eigenpy_exception_hpp__
#include
"eigenpy/fwd.hpp"
namespace
eigenpy
{
...
...
include/eigenpy/fwd.hpp
View file @
e01cc8ff
...
...
@@ -7,13 +7,21 @@
#include
"eigenpy/config.hpp"
// Silence a warning about a deprecated use of boost bind by boost python
// at least fo boost 1.73 to 1.75
// ref. https://github.com/stack-of-tasks/tsid/issues/128
#define BOOST_BIND_GLOBAL_PLACEHOLDERS
#include
<boost/python.hpp>
#include
<
Eigen/Core
>
#include
<
boost/python/scope.hpp
>
#define NO_IMPORT_ARRAY
#include
"eigenpy/numpy.hpp"
#undef NO_IMPORT_ARRAY
#undef BOOST_BIND_GLOBAL_PLACEHOLDERS
#include
<Eigen/Core>
#if EIGEN_VERSION_AT_LEAST(3,2,90)
#define EIGENPY_DEFAULT_ALIGNMENT_VALUE Eigen::Aligned16
#else
...
...
include/eigenpy/geometry-conversion.hpp
View file @
e01cc8ff
...
...
@@ -6,9 +6,8 @@
#ifndef __eigenpy_geometry_conversion_hpp__
#define __eigenpy_geometry_conversion_hpp__
#include
<E
igen
/Core>
#include
"e
igen
py/fwd.hpp"
#include
<Eigen/Geometry>
#include
<boost/python.hpp>
namespace
eigenpy
{
...
...
include/eigenpy/memory.hpp
View file @
e01cc8ff
...
...
@@ -6,7 +6,7 @@
#ifndef __eigenpy_memory_hpp__
#define __eigenpy_memory_hpp__
#include
<boost/python
.hpp
>
#include
"eigenpy/fwd
.hpp
"
/**
* This section contains a convenience MACRO which allows an easy specialization of
...
...
include/eigenpy/numpy.hpp
View file @
e01cc8ff
...
...
@@ -5,8 +5,7 @@
#ifndef __eigenpy_numpy_hpp__
#define __eigenpy_numpy_hpp__
#include
<boost/python.hpp>
#include
"eigenpy/config.hpp"
#include
"eigenpy/fwd.hpp"
#ifndef PY_ARRAY_UNIQUE_SYMBOL
#define PY_ARRAY_UNIQUE_SYMBOL EIGENPY_ARRAY_API
...
...
include/eigenpy/registration.hpp
View file @
e01cc8ff
...
...
@@ -6,8 +6,7 @@
#ifndef __eigenpy_registration_hpp__
#define __eigenpy_registration_hpp__
#include
<boost/python.hpp>
#include
<boost/python/scope.hpp>
#include
"eigenpy/fwd.hpp"
namespace
eigenpy
{
...
...
include/eigenpy/solvers/BFGSPreconditioners.hpp
View file @
e01cc8ff
...
...
@@ -17,8 +17,7 @@
#ifndef __eigenpy_bfgs_preconditioners_hpp__
#define __eigenpy_bfgs_preconditioners_hpp__
#include
<boost/python.hpp>
#include
<Eigen/Core>
#include
"eigenpy/fwd.hpp"
#include
<Eigen/IterativeLinearSolvers>
#include
"eigenpy/solvers/BasicPreconditioners.hpp"
...
...
include/eigenpy/solvers/BasicPreconditioners.hpp
View file @
e01cc8ff
...
...
@@ -17,8 +17,7 @@
#ifndef __eigenpy_basic_preconditioners_hpp__
#define __eigenpy_basic_preconditioners_hpp__
#include
<boost/python.hpp>
#include
<Eigen/Core>
#include
"eigenpy/fwd.hpp"
#include
<Eigen/IterativeLinearSolvers>
namespace
eigenpy
...
...
include/eigenpy/solvers/ConjugateGradient.hpp
View file @
e01cc8ff
...
...
@@ -17,7 +17,7 @@
#ifndef __eigenpy_conjugate_gradient_hpp__
#define __eigenpy_conjugate_gradient_hpp__
#include
<boost/python
.hpp
>
#include
"eigenpy/fwd
.hpp
"
#include
<Eigen/IterativeLinearSolvers>
#include
"eigenpy/solvers/IterativeSolverBase.hpp"
...
...
include/eigenpy/solvers/IterativeSolverBase.hpp
View file @
e01cc8ff
...
...
@@ -17,9 +17,7 @@
#ifndef __eigenpy_iterative_solver_base_hpp__
#define __eigenpy_iterative_solver_base_hpp__
#include
<boost/python.hpp>
#include
<Eigen/Core>
#include
"eigenpy/fwd.hpp"
#include
"eigenpy/solvers/SparseSolverBase.hpp"
namespace
eigenpy
...
...
include/eigenpy/solvers/LeastSquaresConjugateGradient.hpp
View file @
e01cc8ff
...
...
@@ -17,7 +17,7 @@
#ifndef __eigenpy_least_square_conjugate_gradient_hpp__
#define __eigenpy_least_square_conjugate_gradient_hpp__
#include
<boost/python
.hpp
>
#include
"eigenpy/fwd
.hpp
"
#include
<Eigen/IterativeLinearSolvers>
#include
"eigenpy/solvers/IterativeSolverBase.hpp"
...
...
include/eigenpy/solvers/SparseSolverBase.hpp
View file @
e01cc8ff
...
...
@@ -17,8 +17,7 @@
#ifndef __eigenpy_sparse_solver_base_hpp__
#define __eigenpy_sparse_solver_base_hpp__
#include
<boost/python.hpp>
#include
<Eigen/Core>
#include
"eigenpy/fwd.hpp"
namespace
eigenpy
{
...
...
src/decompositions/decompositions.cpp
View file @
e01cc8ff
...
...
@@ -2,8 +2,7 @@
* Copyright 2020 INRIA
*/
#include
<boost/python.hpp>
#include
<Eigen/Core>
#include
"eigenpy/fwd.hpp"
#include
"eigenpy/decompositions/decompositions.hpp"
...
...
unittest/alpha/bnpy.cpp
View file @
e01cc8ff
/* Simple test using the boost::numpy interface: return an array and a matrix. */
#include
<boost/python
.hpp
>
#include
"eigenpy/fwd
.hpp
"
#include
"boost/numpy.hpp"
namespace
bp
=
boost
::
python
;
...
...
unittest/alpha/eigen.cpp
View file @
e01cc8ff
#include
<Eigen/Core>
#include
<boost/python.hpp>
#include
"eigenpy/fwd.hpp"
#include
<boost/numpy.hpp>
...
...
unittest/alpha/eigenc.cpp
View file @
e01cc8ff
#include
<Eigen/Core>
#include
<boost/python.hpp>
#include
"eigenpy/fwd.hpp"
#include
<numpy/arrayobject.h>
namespace
boopy
...
...
unittest/alpha/eigentemplate.cpp
View file @
e01cc8ff
#include
<Eigen/Core>
#include
<boost/python.hpp>
#include
"eigenpy/fwd.hpp"
#include
<numpy/arrayobject.h>
namespace
boopy
...
...
unittest/alpha/simple.cpp
View file @
e01cc8ff
...
...
@@ -3,9 +3,9 @@
* function raises and error at runtime due to inadequate binding.
*/
#include
<boost/python.hpp>
#include
<string>
#include
<Eigen/Core>
#include
"eigenpy/fwd.hpp"
char
const
*
testchar
()
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment