From a02f5cd8caf70555f0c27efe7867f4913af0a65e Mon Sep 17 00:00:00 2001 From: jcarpent <jcarpent@laas.fr> Date: Tue, 28 Nov 2017 11:08:07 +0100 Subject: [PATCH] [Python] Fix ambiguity in namespaces --- python/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python/main.cpp b/python/main.cpp index bf71d272..b2ce8223 100644 --- a/python/main.cpp +++ b/python/main.cpp @@ -23,10 +23,8 @@ #include <iostream> #include <boost/python/scope.hpp> -namespace bp = boost::python; using namespace eigenpy; - BOOST_PYTHON_MODULE(eigenpy) { enableEigenPy(); @@ -34,7 +32,7 @@ BOOST_PYTHON_MODULE(eigenpy) exposeQuaternion(); { - bp::scope solvers = bp::class_<SolversScope>("solvers"); + boost::python::scope solvers = boost::python::class_<SolversScope>("solvers"); exposeSolvers(); exposePreconditioners(); } -- GitLab