remove unnecessary preamble and specializations for hybrid wrapping
parent
7c91fe82b4
commit
873f5baf56
|
@ -11,12 +11,3 @@
|
|||
* mutations on Python side will not be reflected on C++.
|
||||
*/
|
||||
#include <pybind11/stl.h>
|
||||
|
||||
#ifdef GTSAM_ALLOCATOR_TBB
|
||||
PYBIND11_MAKE_OPAQUE(std::vector<gtsam::Key, tbb::tbb_allocator<gtsam::Key>>);
|
||||
#else
|
||||
PYBIND11_MAKE_OPAQUE(std::vector<gtsam::Key>);
|
||||
#endif
|
||||
|
||||
PYBIND11_MAKE_OPAQUE(std::vector<gtsam::GaussianFactor::shared_ptr>);
|
||||
PYBIND11_MAKE_OPAQUE(std::vector<gtsam::GaussianConditional::shared_ptr>);
|
||||
|
|
|
@ -1,6 +1 @@
|
|||
|
||||
py::bind_vector<std::vector<gtsam::GaussianFactor::shared_ptr> >(m_, "GaussianFactorVector");
|
||||
py::implicitly_convertible<py::list, std::vector<gtsam::GaussianFactor::shared_ptr> >();
|
||||
|
||||
py::bind_vector<std::vector<gtsam::GaussianConditional::shared_ptr> >(m_, "GaussianConditionalVector");
|
||||
py::implicitly_convertible<py::list, std::vector<gtsam::GaussianConditional::shared_ptr> >();
|
||||
|
|
Loading…
Reference in New Issue