Skip to content
Snippets Groups Projects
Commit a02f5cd8 authored by jcarpent's avatar jcarpent
Browse files

[Python] Fix ambiguity in namespaces

parent 54ad6aa2
No related branches found
No related tags found
No related merge requests found
...@@ -23,10 +23,8 @@ ...@@ -23,10 +23,8 @@
#include <iostream> #include <iostream>
#include <boost/python/scope.hpp> #include <boost/python/scope.hpp>
namespace bp = boost::python;
using namespace eigenpy; using namespace eigenpy;
BOOST_PYTHON_MODULE(eigenpy) BOOST_PYTHON_MODULE(eigenpy)
{ {
enableEigenPy(); enableEigenPy();
...@@ -34,7 +32,7 @@ BOOST_PYTHON_MODULE(eigenpy) ...@@ -34,7 +32,7 @@ BOOST_PYTHON_MODULE(eigenpy)
exposeQuaternion(); exposeQuaternion();
{ {
bp::scope solvers = bp::class_<SolversScope>("solvers"); boost::python::scope solvers = boost::python::class_<SolversScope>("solvers");
exposeSolvers(); exposeSolvers();
exposePreconditioners(); exposePreconditioners();
} }
......
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