Skip to content

Commit a02f5cd

Browse files
committed
[Python] Fix ambiguity in namespaces
1 parent 54ad6aa commit a02f5cd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

python/main.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,16 @@
2323
#include <iostream>
2424
#include <boost/python/scope.hpp>
2525

26-
namespace bp = boost::python;
2726
using namespace eigenpy;
2827

29-
3028
BOOST_PYTHON_MODULE(eigenpy)
3129
{
3230
enableEigenPy();
3331
exposeAngleAxis();
3432
exposeQuaternion();
3533

3634
{
37-
bp::scope solvers = bp::class_<SolversScope>("solvers");
35+
boost::python::scope solvers = boost::python::class_<SolversScope>("solvers");
3836
exposeSolvers();
3937
exposePreconditioners();
4038
}

0 commit comments

Comments
 (0)