Skip to content

Commit cd37a2f

Browse files
committed
[Core] Use bp namespace shortcut
1 parent c1fdfe7 commit cd37a2f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/details.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ namespace eigenpy
5858
{ return make((PyObject*)pyArray,copy); }
5959
bp::object make(PyObject* pyObj, bool copy = false)
6060
{
61-
boost::python::object m
61+
bp::object m
6262
= pyMatrixType(bp::object(bp::handle<>(pyObj)), bp::object(), copy);
6363
Py_INCREF(m.ptr());
6464
return m;
@@ -67,7 +67,7 @@ namespace eigenpy
6767
protected:
6868
PyMatrixType()
6969
{
70-
pyModule = boost::python::import("numpy");
70+
pyModule = bp::import("numpy");
7171
pyMatrixType = pyModule.attr("matrix");
7272
}
7373

@@ -154,7 +154,7 @@ namespace eigenpy
154154

155155
// Convert obj_ptr into a Eigenvec
156156
static void construct(PyObject* pyObj,
157-
bp::converter::rvalue_from_python_stage1_data* memory)
157+
bp::converter::rvalue_from_python_stage1_data* memory)
158158
{
159159
using namespace Eigen;
160160

@@ -184,7 +184,7 @@ namespace eigenpy
184184
numpy_import_array();
185185
if(check_registration<MatType>()) return;
186186

187-
boost::python::to_python_converter<MatType,EigenToPy<MatType> >();
187+
bp::to_python_converter<MatType,EigenToPy<MatType> >();
188188
EigenFromPy<MatType>();
189189
}
190190

0 commit comments

Comments
 (0)