minor updates to sfm.h preamble

release/4.3a0
Varun Agrawal 2022-07-19 12:13:20 -04:00
parent b60c5e3ab5
commit d6415deac4
1 changed files with 2 additions and 9 deletions

View File

@ -11,12 +11,5 @@
* mutations on Python side will not be reflected on C++.
*/
// Including <stl.h> can cause some serious hard-to-debug bugs!!!
// #include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
PYBIND11_MAKE_OPAQUE(
std::vector<gtsam::SfmTrack>);
PYBIND11_MAKE_OPAQUE(
std::vector<gtsam::SfmCamera>);
PYBIND11_MAKE_OPAQUE(std::vector<gtsam::SfmTrack>);
PYBIND11_MAKE_OPAQUE(std::vector<gtsam::SfmCamera>);